hedgewars/uGearsHandlersMess.pas
changeset 11290 9bd2acb1b577
parent 11282 d63ef6afabe3
child 11304 a20f416c91ec
--- a/hedgewars/uGearsHandlersMess.pas	Wed Nov 04 01:30:28 2015 +0100
+++ b/hedgewars/uGearsHandlersMess.pas	Wed Nov 04 01:36:34 2015 +0100
@@ -1094,6 +1094,7 @@
     AllInactive := false;
     Gear^.X := Gear^.X + Gear^.dX;
     Gear^.Y := Gear^.Y + Gear^.dY;
+    WorldWrap(Gear);
     Gear^.dY := Gear^.dY + cGravity;
     CheckGearDrowning(Gear);
     CheckCollision(Gear);