Properly disabled commands in linger mode (bug #21450)

This commit is contained in:
Iurii Chernyi 2014-02-02 11:39:29 +01:00
parent 5ef796948b
commit d1a713a587
4 changed files with 4 additions and 0 deletions

View file

@ -32,6 +32,7 @@ Version 1.11.8+dev:
* Team color is now applied on the Unknown unit icon in the game Status
Table regardless of whether the side's leader unit supports team color.
* Miscellaneous and bug fixes:
* Properly disabled commands in linger mode (bug #21450)
* Added -Wno-documentation-deprecated-sync to the CMake pedantic flags.
* Fixed several Doxygen issues found by Clang 3.4.
* Fixed possible invalid memory access issue in the MP sides configuration

View file

@ -26,6 +26,7 @@ Version 1.11.8+dev:
Table regardless of whether the side's leader unit supports team color.
* Miscellaneous and bug fixes:
* Properly disabled commands in linger mode (bug #21450)
* Fixed possible invalid memory access issue in the MP sides configuration
code causing crashes for some users (bug #21449).
* Fixed broken image references in the Gameplay -> Time of Day help topic.

View file

@ -275,6 +275,7 @@ void playmp_controller::reset_end_scenario_button()
void playmp_controller::linger()
{
LOG_NG << "beginning end-of-scenario linger\n";
const events::command_disabler disable_commands;
browse_ = true;
linger_ = true;
// If we need to set the status depending on the completion state

View file

@ -752,6 +752,7 @@ struct set_completion
void playsingle_controller::linger()
{
LOG_NG << "beginning end-of-scenario linger\n";
const events::command_disabler disable_commands;
browse_ = true;
linger_ = true;