merge
authornemo
Fri, 16 Sep 2011 15:26:43 -0400
changeset 5942 415c9bdb186e
parent 5939 d4680c51b220 (current diff)
parent 5940 c025b4842cb4 (diff)
child 5944 1b56460576f2
merge
--- a/hedgewars/GSHandlers.inc	Fri Sep 16 15:26:02 2011 -0400
+++ b/hedgewars/GSHandlers.inc	Fri Sep 16 15:26:43 2011 -0400
@@ -4177,7 +4177,11 @@
 
         // Until loops are reliably broken
         if iscake then iterator^.PortalCounter:= 33
-        else inc(iterator^.PortalCounter);
+        else
+            begin
+            inc(iterator^.PortalCounter);
+            iterator^.State:= iterator^.State and not gstHHHJump
+            end;
 
         if not isbullet and (iterator^.Kind <> gtFlake) then
             FollowGear := iterator;