- 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
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}