Skip to content

Commit

Permalink
fix possible assertion failure in mp when a player is leaving.
Browse files Browse the repository at this point in the history
see the similar 1.13 commit 23fdeba
see the report in the forum: https://forums.wesnoth.org/viewtopic.php?f=4&p=596854
  • Loading branch information
gfgtdf committed May 6, 2016
1 parent 8036bf5 commit 736bba8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/playsingle_controller.cpp
Expand Up @@ -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_);

Expand Down

0 comments on commit 736bba8

Please sign in to comment.