hedgewars/uGears.pas
changeset 7194 d8e68cbca7ee
parent 7181 0791c1f2734c
child 7257 566bdf2f023b
child 7335 3c6f08af7dac
equal deleted inserted replaced
7180:53ffc8853008 7194:d8e68cbca7ee
   361 
   361 
   362                 EndTurnCleanup;
   362                 EndTurnCleanup;
   363 
   363 
   364                 FreeActionsList; // could send -left, -right and similar commands, so should be called before /nextturn
   364                 FreeActionsList; // could send -left, -right and similar commands, so should be called before /nextturn
   365 
   365 
       
   366                 ParseCommand('/nextturn', true);
   366                 SwitchHedgehog;
   367                 SwitchHedgehog;
   367 
   368 
   368                 AfterSwitchHedgehog;
   369                 AfterSwitchHedgehog;
   369                 bBetweenTurns:= false;
   370                 bBetweenTurns:= false
   370                 ParseCommand('/nextturn', true)
       
   371                 end;
   371                 end;
   372             step:= Low(step)
   372             step:= Low(step)
   373             end;
   373             end;
   374     end
   374     end
   375 else if ((GameFlags and gfInfAttack) <> 0) then
   375 else if ((GameFlags and gfInfAttack) <> 0) then