Another flag that was relying on this routine to clear it...
authornemo
Sat, 08 Oct 2011 02:05:22 -0400
changeset 6099 e6dd54f8d334
parent 6098 959219241c67
child 6100 e6426c6b2882
Another flag that was relying on this routine to clear it...
hedgewars/HHHandlers.inc
--- a/hedgewars/HHHandlers.inc	Sat Oct 08 01:27:43 2011 -0400
+++ b/hedgewars/HHHandlers.inc	Sat Oct 08 02:05:22 2011 -0400
@@ -1083,7 +1083,7 @@
     begin
     if Gear^.Timer = 0 then
         begin
-        Gear^.State:= Gear^.State and not (gstWait or gstLoser or gstWinner);
+        Gear^.State:= Gear^.State and not (gstWait or gstLoser or gstWinner or gstAttacked);
         Gear^.Active:= false;
         AddGearCI(Gear);
         exit