Fixed a case of an undeclared variable with A_Saw.

This commit is contained in:
Blue-Shadow 2014-12-21 01:10:54 +03:00
parent 2a53ebb6b9
commit 9446edc068

View file

@ -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");