Fixed 'end turn' button's state issue.

This commit is contained in:
Andrius Silinskas 2013-05-01 12:55:56 +01:00
parent b144e05b43
commit 91faffb79f
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ Version 1.11.2+dev:
text box overflow occurs.
* Change Difficulty checkbox in Load Game dialog in GUI1 gets disabled if
change in difficulty of a loading game won't take effect (bug #20381).
* Fixed 'end turn' button's state issue: button stays disabled after the first turn.
* WML engine:
* Fixed invalid memory access issues caused by subnamespaced persistent WML
variables (bug #20385).

View File

@ -693,6 +693,7 @@ void playsingle_controller::before_human_turn(bool save)
browse_ = false;
linger_ = false;
set_button_state(*gui_);
ai::manager::raise_turn_started();