- fixed compilation.

This commit is contained in:
Christoph Oelckers 2017-01-16 10:23:26 +01:00
commit cd1d96b83a
4 changed files with 12 additions and 2 deletions

View file

@ -1385,7 +1385,7 @@ static int DamageMobj (AActor *target, AActor *inflictor, AActor *source, int da
if (!(flags & (DMG_NO_ARMOR|DMG_FORCED)) && target->Inventory != NULL && damage > 0)
{
int newdam = damage;
newdam = target->AbsorbDamage damage, mod);
newdam = target->AbsorbDamage(damage, mod);
damage = newdam;
if (damage <= 0)
{