# HG changeset patch # User nemo # Date 1387741590 18000 # Node ID 2f2f4f0f671dd90d6bd3649ab29be54b9b2a57fb # Parent e71188c140ee10b2e5944f958c2ff64bbd03a45c allow poison clouds to flag active using tmpflag diff -r e71188c140ee -r 2f2f4f0f671d hedgewars/uGearsHandlersMess.pas --- a/hedgewars/uGearsHandlersMess.pas Sun Dec 22 23:17:42 2013 +0400 +++ b/hedgewars/uGearsHandlersMess.pas Sun Dec 22 14:46:30 2013 -0500 @@ -4797,7 +4797,8 @@ Gear^.dY := Gear^.dY + cGravity / 100; if (GameTicks and $FF) = 0 then doMakeExplosion(hwRound(Gear^.X), hwRound(Gear^.Y), 20, Gear^.Hedgehog, EXPLDontDraw or EXPLNoGfx or EXPLNoDamage or EXPLDoNotTouchAny or EXPLPoisoned); - AllInactive:= false; + if Gear^.State and gstTmpFlag = 0 then + AllInactive:= false; end; ////////////////////////////////////////////////////////////////////////////////