Fix a function

This commit is contained in:
Miloslav Číž 2019-12-31 00:40:37 +01:00
parent 8745a04952
commit e395fb1cdd
2 changed files with 2 additions and 2 deletions

View File

@ -391,7 +391,7 @@ SFG_PROGRAM_MEMORY uint8_t SFG_weaponAttributeTable[SFG_WEAPONS_TOTAL] =
*/ */
SFG_PROGRAM_MEMORY uint8_t SFG_projectileAttributeTable[SFG_PROJECTILES_TOTAL] = SFG_PROGRAM_MEMORY uint8_t SFG_projectileAttributeTable[SFG_PROJECTILES_TOTAL] =
{ {
/* explosion */ SFG_PROJECTILE_ATTRIBUTE(0,300), /* explosion */ SFG_PROJECTILE_ATTRIBUTE(0,400),
/* fireball */ SFG_PROJECTILE_ATTRIBUTE(18,1000), /* fireball */ SFG_PROJECTILE_ATTRIBUTE(18,1000),
/* plasma */ SFG_PROJECTILE_ATTRIBUTE(20,500), /* plasma */ SFG_PROJECTILE_ATTRIBUTE(20,500),
/* dust */ SFG_PROJECTILE_ATTRIBUTE(0,450), /* dust */ SFG_PROJECTILE_ATTRIBUTE(0,450),

2
main.c
View File

@ -1036,7 +1036,7 @@ uint8_t SFG_launchProjectile(
) )
{ {
if (type == SFG_PROJECTILE_NONE) if (type == SFG_PROJECTILE_NONE)
return; return 0;
SFG_ProjectileRecord p; SFG_ProjectileRecord p;