- fixed compilation.

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

View file

@ -3621,7 +3621,7 @@ int AActor::AbsorbDamage(int damage, FName dmgtype)
{
IFVIRTUALPTR(item, AInventory, AbsorbDamage)
{
VMValue params[4] = { (item, damage, dmgtype.GetIndex(), &damage };
VMValue params[4] = { item, damage, dmgtype.GetIndex(), &damage };
GlobalVMStack.Call(func, params, 4, nullptr, 0, nullptr);
}
else item->AbsorbDamage(damage, dmgtype, damage);