--- a/hedgewars/uGearsHedgehog.pas Sun Jan 05 00:46:26 2014 +0400
+++ b/hedgewars/uGearsHedgehog.pas Sun Jan 05 10:54:03 2014 +0400
@@ -877,7 +877,7 @@
end;
if (land and lfBouncy = 0) or (Gear^.State and gstCollision <> 0) then
Gear^.dY:= _0;
- Gear^.State:= Gear^.State and not gstCollision
+ Gear^.State:= Gear^.State and (not gstCollision)
end;
Gear^.State:= Gear^.State or gstMoving;
if (CurrentHedgehog^.Gear = Gear) and (CurrentHedgehog^.Gear^.State and gstHHDriven <> 0) and
@@ -932,7 +932,7 @@
if (land and lfBouncy = 0) or (Gear^.dX.QWordValue < _0_02.QWordValue) then
Gear^.dY:= _0
end;
- Gear^.State:= Gear^.State and not gstCollision
+ Gear^.State:= Gear^.State and (not gstCollision)
end
else
Gear^.dY:= Gear^.dY + cGravity;
@@ -1057,7 +1057,7 @@
Gear^.dY:= _0;
Gear^.Y:= Gear^.Y + _1
end;
- Gear^.State:= Gear^.State and not gstCollision
+ Gear^.State:= Gear^.State and (not gstCollision)
end;
// could become nil if ai's hog fails to respawn in ai survival