fixed bug which caused goto commands to not be sent in network games
(and thus caused a whole host of synchronization issues)
This commit is contained in:
parent
9b7189bed4
commit
4f133af73c
1 changed files with 2 additions and 2 deletions
|
@ -72,6 +72,8 @@ void play_turn(game_data& gameinfo, game_state& state_of_game,
|
|||
|
||||
turn_info turn_data;
|
||||
|
||||
int start_command = recorder.ncommands();
|
||||
|
||||
//execute gotos - first collect gotos in a list
|
||||
std::vector<gamemap::location> gotos;
|
||||
|
||||
|
@ -114,8 +116,6 @@ void play_turn(game_data& gameinfo, game_state& state_of_game,
|
|||
|
||||
std::cerr << "done gotos\n";
|
||||
|
||||
int start_command = recorder.ncommands();
|
||||
|
||||
for(;;) {
|
||||
bool res = false;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue