changeset 10349 | a51de45dcc42 |
parent 10345 | 2b264d67fac3 |
child 10350 | 4e919f7b9d92 |
--- a/hedgewars/uTeams.pas Wed Jul 02 11:40:57 2014 -0400 +++ b/hedgewars/uTeams.pas Wed Jul 02 23:55:00 2014 +0400 @@ -519,8 +519,13 @@ with Team do if skippedTurns < 3 then begin - inc(skippedTurns); - ParseCommand('/skip', true); + inc(skippedTurns); + for i:= 0 to cMaxHHIndex do + with Hedgehogs[i] do + if Gear <> nil then + Gear^.State:= Gear^.State and (not gstHHDriven); + + ParseCommand('/skip', true); end else for i:= 0 to cMaxHHIndex do