hedgewars/uGears.pas
changeset 2289 cb850ba733bd
parent 2221 ef52dae4130b
child 2302 0f122917d799
--- a/hedgewars/uGears.pas	Thu Jul 30 09:35:09 2009 +0000
+++ b/hedgewars/uGears.pas	Thu Jul 30 17:32:46 2009 +0000
@@ -613,7 +613,10 @@
 	stNTurn: begin
 			if isInMultiShoot then isInMultiShoot:= false
 			else begin
-            ResetUtilities;
+			ResetUtilities;
+			
+			FreeActionsList; // could send -left, -right and similar commands, so should be called before /nextturn
+			
 			ParseCommand('/nextturn', true);
 			SwitchHedgehog;