From 55e716428de63128dc117c2bc10706e053dffdaa Mon Sep 17 00:00:00 2001 From: Chris Beck Date: Sat, 5 Apr 2014 15:27:21 -0400 Subject: [PATCH] [side_drop] sides go to idle, not human (fix bug 21459) since idle sides don't get initialized until someone takes control this alleviates 21459. it might possibly aggravate 21397, if that bug is not fixed by correcting save files with unintialized sides --- src/playturn.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/playturn.cpp b/src/playturn.cpp index 0007b4b6480..690c947a5ad 100644 --- a/src/playturn.cpp +++ b/src/playturn.cpp @@ -335,9 +335,9 @@ turn_info::PROCESS_DATA_RESULT turn_info::process_network_data(const config& cfg { // Server thinks this side is ours now so in case of error transferring side we have to make local state to same as what server thinks it is. - tm.make_human(); - tm.set_current_player("human"+side_drop); - if (have_leader) leader->rename("human"+side_drop); + tm.make_idle(); + tm.set_current_player("idle"+side_drop); + if (have_leader) leader->rename("idle"+side_drop); } const size_t index = static_cast(action - first_observer_option_idx);