Changed side_drop handling not to automaticaly assign AI for side...

...if leader is dead (bug #12186)
This commit is contained in:
Pauli Nieminen 2008-08-20 20:31:15 +00:00
parent 260fb57307
commit d9f3dfe94a

View file

@ -215,10 +215,8 @@ turn_info::PROCESS_DATA_RESULT turn_info::process_network_data(const config& cfg
std::vector<team*> allies;
std::vector<std::string> 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"));