From b4168aaced8fceaed62bd0eb088ab15cd16e97d1 Mon Sep 17 00:00:00 2001 From: Pauli Nieminen Date: Wed, 20 Aug 2008 20:35:57 +0000 Subject: [PATCH] Changed side_drop handling not to automaticaly assign AI for side... ...if leader is dead (bug #12186) --- src/playturn.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/playturn.cpp b/src/playturn.cpp index 6e150b16ad7..278e9738e25 100644 --- a/src/playturn.cpp +++ b/src/playturn.cpp @@ -220,10 +220,8 @@ turn_info::PROCESS_DATA_RESULT turn_info::process_network_data(const config& cfg std::vector allies; std::vector options; - //see if the side still has a leader alive. If they have - //no leader, we assume they just want to be replaced by - //the AI. - if(have_leader) { + // We want to give host chance to decide what to do for side + { utils::string_map t_vars; options.push_back(_("Replace with AI")); options.push_back(_("Replace with local player"));