# HG changeset patch
# User nemo
# Date 1338853015 14400
# Node ID 0791c1f2734cd074443c987657857b4adab9cede
# Parent  c61cfc9eb29d71d72406bfb6ef3e8cb0d0fe0d29
Welp. We have a bit of a problem here. Reverting the move of nextturn.  But this causes a desync in scripting unless we can find a better fix.

diff -r c61cfc9eb29d -r 0791c1f2734c hedgewars/uGears.pas
--- a/hedgewars/uGears.pas	Mon Jun 04 22:43:56 2012 +0400
+++ b/hedgewars/uGears.pas	Mon Jun 04 19:36:55 2012 -0400
@@ -363,11 +363,11 @@
 
                 FreeActionsList; // could send -left, -right and similar commands, so should be called before /nextturn
 
+                ParseCommand('/nextturn', true);
                 SwitchHedgehog;
 
                 AfterSwitchHedgehog;
-                bBetweenTurns:= false;
-                ParseCommand('/nextturn', true)
+                bBetweenTurns:= false
                 end;
             step:= Low(step)
             end;