From daaa6e7831b0c4c0424e530d763e653b97af459c Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 6 Dec 2016 00:00:56 +0100 Subject: [PATCH] - fixed bad parameter in AActor::ModifyDamage. --- src/p_mobj.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_mobj.cpp b/src/p_mobj.cpp index 88653fca9..b527bf681 100644 --- a/src/p_mobj.cpp +++ b/src/p_mobj.cpp @@ -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; }