hedgewars/uGearsUtils.pas
changeset 7767 d1ea9b3f543e
parent 7754 e81dc9bef8b8
child 7825 1b96361a7ef4
--- a/hedgewars/uGearsUtils.pas	Wed Oct 17 23:50:28 2012 +0400
+++ b/hedgewars/uGearsUtils.pas	Thu Oct 18 14:04:24 2012 -0400
@@ -131,7 +131,7 @@
                                 Gear^.dY:= Gear^.dY + SignAs(_0_005 * dmg + cHHKick, tdY)/(Gear^.Density/_3);
 
                                 Gear^.State:= (Gear^.State or gstMoving) and (not gstLoser);
-                                if Gear^.Kind = gtKnife then Gear^.State:= Gear^.State and not gstCollision;
+                                if Gear^.Kind = gtKnife then Gear^.State:= Gear^.State and (not gstCollision);
                                 if not Gear^.Invulnerable then
                                     Gear^.State:= (Gear^.State or gstMoving) and (not gstWinner);
                                 Gear^.Active:= true;