- made AbsorbDamage work iteratively to avoid large stack use in the VM.

This commit is contained in:
Christoph Oelckers 2017-01-16 01:16:11 +01:00
commit cd0d17dbd5
6 changed files with 17 additions and 18 deletions

View file

@ -845,10 +845,6 @@ void APowerIronFeet::AbsorbDamage (int damage, FName damageType, int &newdamage)
{
newdamage = 0;
}
else if (Inventory != NULL)
{
Inventory->AbsorbDamage (damage, damageType, newdamage);
}
}
//===========================================================================