hedgewars/GSHandlers.inc
changeset 7268 3a61c53346a8
parent 7204 522f165cd2e7
child 7270 93e92e82d5c8
--- a/hedgewars/GSHandlers.inc	Fri Jun 22 08:13:51 2012 +0400
+++ b/hedgewars/GSHandlers.inc	Sat Jun 23 22:44:11 2012 +0400
@@ -3087,7 +3087,7 @@
         begin
         Gear^.Tag := 0;
         Gear^.X := Gear^.X + int2hwFloat(xx);
-        if not TestCollisionY(Gear, yyn) then
+        if TestCollisionYwithGear(Gear, yyn) = 0 then
             begin
             Gear^.Y := Gear^.Y + int2hwFloat(yyn);
             NextAngle(Gear, dA)