hedgewars/uGears.pas
changeset 2289 cb850ba733bd
parent 2221 ef52dae4130b
child 2302 0f122917d799
equal deleted inserted replaced
2288:c01b8258918d 2289:cb850ba733bd
   611 			inc(step)
   611 			inc(step)
   612 			end;
   612 			end;
   613 	stNTurn: begin
   613 	stNTurn: begin
   614 			if isInMultiShoot then isInMultiShoot:= false
   614 			if isInMultiShoot then isInMultiShoot:= false
   615 			else begin
   615 			else begin
   616             ResetUtilities;
   616 			ResetUtilities;
       
   617 			
       
   618 			FreeActionsList; // could send -left, -right and similar commands, so should be called before /nextturn
       
   619 			
   617 			ParseCommand('/nextturn', true);
   620 			ParseCommand('/nextturn', true);
   618 			SwitchHedgehog;
   621 			SwitchHedgehog;
   619 
   622 
   620 			inc(step); // FIXME wtf is that, it overflows step, and does nothing
   623 			inc(step); // FIXME wtf is that, it overflows step, and does nothing
   621 
   624