- made AbsorbDamage work iteratively to avoid large stack use in the VM.
This commit is contained in:
parent
ae7b95fc52
commit
cd0d17dbd5
6 changed files with 17 additions and 18 deletions
|
|
@ -845,10 +845,6 @@ void APowerIronFeet::AbsorbDamage (int damage, FName damageType, int &newdamage)
|
|||
{
|
||||
newdamage = 0;
|
||||
}
|
||||
else if (Inventory != NULL)
|
||||
{
|
||||
Inventory->AbsorbDamage (damage, damageType, newdamage);
|
||||
}
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue