hedgewars/uCollisions.pas
changeset 7268 3a61c53346a8
parent 6992 b8f3d8991e92
child 7270 93e92e82d5c8
--- a/hedgewars/uCollisions.pas	Fri Jun 22 08:13:51 2012 +0400
+++ b/hedgewars/uCollisions.pas	Sat Jun 23 22:44:11 2012 +0400
@@ -148,7 +148,8 @@
             end
         else
             TestWord:= 255
-    else TestWord:= 0;
+else 
+    TestWord:= 0;
 
 x:= hwRound(Gear^.X);
 if Dir < 0 then
@@ -193,6 +194,7 @@
     y:= y - Gear^.Radius
 else
     y:= y + Gear^.Radius;
+
 if (y and LAND_HEIGHT_MASK) = 0 then
     begin
     x:= hwRound(Gear^.X) - Gear^.Radius + 1;