From 9446edc0689342d4a411161a5b941065fe5393fe Mon Sep 17 00:00:00 2001 From: Blue-Shadow Date: Sun, 21 Dec 2014 01:10:54 +0300 Subject: [PATCH] Fixed a case of an undeclared variable with A_Saw. --- src/g_doom/a_doomweaps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_doom/a_doomweaps.cpp b/src/g_doom/a_doomweaps.cpp index 527b885bf..898bf7c5b 100644 --- a/src/g_doom/a_doomweaps.cpp +++ b/src/g_doom/a_doomweaps.cpp @@ -188,7 +188,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_Saw) if (LifeSteal && !(linetarget->flags5 & MF5_DONTDRAIN)) { - if (flags & SF_STEALARMOR) + if (Flags & SF_STEALARMOR) { if (!armorbonustype) armorbonustype = PClass::FindClass("ArmorBonus");