mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 20:43:15 +00:00
- fixed bad parameter in AActor::ModifyDamage.
This commit is contained in:
parent
092461ed34
commit
daaa6e7831
1 changed files with 1 additions and 1 deletions
|
@ -7418,7 +7418,7 @@ DEFINE_ACTION_FUNCTION(AActor, ClearCounters)
|
|||
int AActor::GetModifiedDamage(FName damagetype, int damage, bool passive)
|
||||
{
|
||||
if (Inventory != nullptr)
|
||||
Inventory->ModifyDamage(damage, damagetype, damage, false);
|
||||
Inventory->ModifyDamage(damage, damagetype, damage, passive);
|
||||
|
||||
return damage;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue