- fixed compilation.
This commit is contained in:
parent
cd0d17dbd5
commit
cd1d96b83a
4 changed files with 12 additions and 2 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue