Fix damage bug

This commit is contained in:
Miloslav Číž 2020-01-02 19:46:05 +01:00
parent a51aeec38e
commit ac64be463a

2
main.c
View File

@ -2090,7 +2090,7 @@ void SFG_gameStep()
)
{
eliminate = 1;
SFG_monsterChangeHealth(m,SFG_getDamageValue(attackType));
SFG_monsterChangeHealth(m,-1 * SFG_getDamageValue(attackType));
break;
}
}