# HG changeset patch
# User nemo
# Date 1380817332 14400
# Node ID fbe203c1d11e55b1c68c2197488233ffcdb719e4
# Parent  3dee8a3b04066bc03188d12e4079d25a53f9ec7a
couple more wrap calls. freezer still doesn't propagate properly. mostly due to
needing something like bullet trail to chop into segments tag borders.  Adding that could allow portalling too, probably.

diff -r 3dee8a3b0406 -r fbe203c1d11e hedgewars/uGearsHandlersMess.pas
--- a/hedgewars/uGearsHandlersMess.pas	Thu Oct 03 12:10:30 2013 -0400
+++ b/hedgewars/uGearsHandlersMess.pas	Thu Oct 03 12:22:12 2013 -0400
@@ -1323,6 +1323,7 @@
     HHGear: PGear;
 begin
     AllInactive := false;
+    WorldWrap(Gear);
     HHGear := Gear^.Hedgehog^.Gear;
     dec(Gear^.Timer);
     if ((GameFlags and gfInfAttack) <> 0) and (TurnTimeLeft > 0) then
@@ -1446,6 +1447,7 @@
     prevX: LongInt;
 begin
     AllInactive := false;
+    WorldWrap(Gear);
     dec(Gear^.Timer);
     if ((GameFlags and gfInfAttack) <> 0) and (TurnTimeLeft > 0) then
         dec(TurnTimeLeft);