Make sure the team number is reset in single player linger mode

(bug #10692).
This commit is contained in:
Mark de Wever 2008-01-13 07:19:35 +00:00
parent 3381c60efa
commit 15806f7730
2 changed files with 4 additions and 0 deletions

View file

@ -83,6 +83,8 @@ Version 1.3.13+svn:
* changed option 'Delete Saves on SP/MP Victory ..' to remove only
Auto-Saves to avoid the removal of manually saved files from unrelated
games
* make sure the team number is reset in single player linger mode
(bug #10692)
Version 1.3.13:
* campaigns:

View file

@ -624,6 +624,8 @@ void playsingle_controller::linger(upload_log& log)
// *not* the same as multiplayer human turn.
gui_->enable_menu("endturn", true);
while(!end_turn_) {
// Reset the team number to make sure we're the right team.
player_number_ = first_player_;
play_slice();
gui_->draw();