hedgewars/uGearsHandlersMess.pas
changeset 9565 7f786eb439aa
parent 9563 225dfd449480
child 9685 7d925e82e572
--- a/hedgewars/uGearsHandlersMess.pas	Sun Oct 20 18:25:58 2013 -0400
+++ b/hedgewars/uGearsHandlersMess.pas	Sun Oct 20 20:10:09 2013 -0400
@@ -1148,7 +1148,7 @@
         Gear^.Y := Gear^.Y + Gear^.dY;
         tX:= Gear^.X;
         tY:= Gear^.Y;
-        if WorldWrap(Gear) then
+        if (Gear^.PortalCounter < 30) and WorldWrap(Gear) then
             begin
             cX:= Gear^.X;
             cY:= Gear^.Y;