mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-06-04 19:10:59 +00:00
- fixed compilation.
This commit is contained in:
parent
cd0d17dbd5
commit
cd1d96b83a
4 changed files with 12 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue