disable unit advancement dialog for droided side

fixes GH-1963
This commit is contained in:
V N 2018-02-20 22:58:31 +03:00 committed by Gregory A Lundberg
parent c1fed7cc87
commit f387eea78f

View File

@ -175,7 +175,7 @@ namespace
//to make mp games equal we only allow selecting advancements to the current side.
//otherwise we'd give an unfair advantage to the side that hosts ai sides if units advance during ai turns.
if(!CVideo::get_singleton().non_interactive() && (force_dialog_ || (t.is_local_human() && !t.is_idle() && (is_current_side || !is_mp))))
if(!CVideo::get_singleton().non_interactive() && (force_dialog_ || (t.is_local_human() && !t.is_droid() && !t.is_idle() && (is_current_side || !is_mp))))
{
res = advance_unit_dialog(loc_);
}