wrap bee during pre-flight too
authorsheepluva
Wed, 04 Nov 2015 01:36:34 +0100
changeset 11290 9bd2acb1b577
parent 11289 f8529d679a0d
child 11298 9fcdf0969d53
wrap bee during pre-flight too
hedgewars/uGearsHandlersMess.pas
--- 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);