# HG changeset patch # User nemo # Date 1284088391 14400 # Node ID c6b62c7f3668f36dffa9c1d8376e5e4d3a40238c # Parent 90034acb2e43b27983eaebc0609c220273296709 Fix swapped x/y in drill rocket test diff -r 90034acb2e43 -r c6b62c7f3668 hedgewars/GSHandlers.inc --- 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);