- fixed bad parameter in AActor::ModifyDamage.

This commit is contained in:
Christoph Oelckers 2016-12-06 00:00:56 +01:00
parent 092461ed34
commit daaa6e7831

View file

@ -7418,7 +7418,7 @@ DEFINE_ACTION_FUNCTION(AActor, ClearCounters)
int AActor::GetModifiedDamage(FName damagetype, int damage, bool passive) int AActor::GetModifiedDamage(FName damagetype, int damage, bool passive)
{ {
if (Inventory != nullptr) if (Inventory != nullptr)
Inventory->ModifyDamage(damage, damagetype, damage, false); Inventory->ModifyDamage(damage, damagetype, damage, passive);
return damage; return damage;
} }