Skip to content

Commit

Permalink
Fixed 'end turn' button's state issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrius-sil committed May 1, 2013
1 parent b144e05 commit 91faffb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog
Expand Up @@ -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).
Expand Down
1 change: 1 addition & 0 deletions src/playsingle_controller.cpp
Expand Up @@ -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();

Expand Down

0 comments on commit 91faffb

Please sign in to comment.