mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 15:10:28 +00:00
disable unit advancement dialog for droided side
fixes GH-1963
This commit is contained in:
parent
c1fed7cc87
commit
f387eea78f
@ -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_);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user