Add an END specifiers to gamestate and order files
Game will now wait until the last line of an order file matches "END" AI's MUST now finalise their order file with "END" fixes #1
This commit is contained in:
parent
fec9c8dad7
commit
f6f6d6fafd
3 changed files with 39 additions and 2 deletions
|
@ -510,6 +510,7 @@ std::string CTTRTSGame::GetStateAsString() const
|
|||
state += '\n';
|
||||
state += GAME_HEADER_DELIMITER;
|
||||
state += units;
|
||||
state += "END";
|
||||
|
||||
return state;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue