fix possible assertion failure in mp when a player is leaving.

see the similar 1.13 commit 23fdebae11
see the report in the forum: https://forums.wesnoth.org/viewtopic.php?f=4&p=596854
This commit is contained in:
gfgtdf 2016-05-06 13:41:27 +02:00
parent 8036bf5505
commit 736bba854a

View file

@ -927,6 +927,7 @@ void playsingle_controller::play_ai_turn(){
// to record this change for the replay though.
synced_context::run_in_synced_context("auto_shroud", replay_helper::get_auto_shroud(true));
}
undo_stack_->clear();
turn_info turn_data(player_number_, replay_sender_, network_reader_);