Follow-up Comment #6, bug #21903 (project wesnoth):
ok i think the orignal plan to make this work was to disable the end_turn
button when starting linger mode, and reable it when receivong
notifynextscenario, in playturn.cpp with:
gui::button* btn_end =
resources::screen->find_action_button("button-endturn");
if(btn_end) {
btn_end->enable(true);
}
return PROCESS_END_LINGER;
however this doesn't work because the state of the endturn button get
reassigned by the hotkeys code to the value of
can_execute_command(end turn hotkey, null)
so i tihnk in order to fix this problem we have to ensure
can_execute_command(hotkey::HOTKEY_ENDTURN) returns the correct value.
Note the it shoudl always return true for the host when in linger mode.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21903>
_______________________________________________
Nachricht gesendet von/durch Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs