oops
authornemo
Fri, 27 Jul 2012 23:16:30 -0400
changeset 7462 9cc5a2586978
parent 7459 8511a3f899d3
child 7465 c2dcf97ca664
oops
hedgewars/uGearsHedgehog.pas
--- a/hedgewars/uGearsHedgehog.pas	Fri Jul 27 19:27:39 2012 -0400
+++ b/hedgewars/uGearsHedgehog.pas	Fri Jul 27 23:16:30 2012 -0400
@@ -487,7 +487,7 @@
                 TurnTimeLeft:=(Ammoz[a].TimeAfterTurn * cGetAwayTime) div 100;
                 end;
             if ((Ammoz[a].Ammo.Propz and ammoprop_NoRoundEnd) = 0) and (HHGear <> nil) then 
-                HHGear^.State:= HHGear^.State and (not gstAttacked);
+                HHGear^.State:= HHGear^.State or gstAttacked;
             if (Ammoz[a].Ammo.Propz and ammoprop_NoRoundEnd) <> 0 then
                 ApplyAmmoChanges(CurrentHedgehog^)
             end;