hedgewars/uGears.pas
changeset 1060 4a655f344900
parent 1058 c53c5c4e7b48
child 1061 a30296274c46
--- a/hedgewars/uGears.pas	Sun Jul 06 22:46:44 2008 +0000
+++ b/hedgewars/uGears.pas	Sun Jul 06 22:55:24 2008 +0000
@@ -481,7 +481,11 @@
                  end;
         stChWin: if not CheckForWin then
                     begin
-                    if not bBetweenTurns then SwitchHedgehog;
+                    if not bBetweenTurns then
+                       begin
+                       SwitchHedgehog;
+                       ParseCommand('/nextturn', true);
+                       end;
                     inc(step)
                     end else step:= stDelay;
         stWater: begin
@@ -520,7 +524,6 @@
         stNTurn: begin
                  if isInMultiShoot then isInMultiShoot:= false
                     else begin
-                    ParseCommand('/nextturn', true);
                     AfterSwitchHedgehog;
                     bBetweenTurns:= false
                     end;