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:
Dave White 2003-10-29 02:29:54 +00:00
parent 9b7189bed4
commit 4f133af73c

View file

@ -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;