Clear the redo stack between turns.

This commit is contained in:
J. Tyne 2012-11-27 12:58:46 +00:00
parent 2bba01fbc1
commit 0dad226c12
2 changed files with 3 additions and 0 deletions

View file

@ -102,6 +102,8 @@ Version 1.11.0+svn:
* Synchronize underlying_unit_id in MP campaigns (bug #20227)
* Fixed: Compilation with Boost 1.51.0 (Gentoo bug #440742).
* Added -Wnoexcept to the CMake pedantic flags.
* Fixed a rare case where a player could exercise (very) limited control of
another (human) player's units in a hotseat game.
Version 1.11.0:
* Add-ons client:

View file

@ -837,6 +837,7 @@ void playsingle_controller::after_human_turn()
{
// Ending the turn commits all moves.
resources::undo_stack->clear();
resources::undo_stack->clear_redo();
// Mark the turn as done.
browse_ = true;