hedgewars/GSHandlers.inc
changeset 3846 c6b62c7f3668
parent 3836 833c0f32e326
child 3851 fbe2e9722fc9
--- a/hedgewars/GSHandlers.inc	Thu Sep 09 14:16:44 2010 -0400
+++ b/hedgewars/GSHandlers.inc	Thu Sep 09 23:13:11 2010 -0400
@@ -2677,7 +2677,7 @@
        or (not TestCollisionYWithGear(Gear, hwSign(Gear^.dY))
        and not TestCollisionXWithGear(Gear, hwSign(Gear^.dX)))
 // CheckLandValue returns true if the type isn't matched
-       or not CheckLandValue(hwRound(Gear^.Y), hwRound(Gear^.X), lfIndestructible) then
+       or not CheckLandValue(hwRound(Gear^.X), hwRound(Gear^.Y), lfIndestructible) then
     begin
         //out of time or exited ground
         StopSound(Gear^.SoundChannel);