Skip to content

Commit

Permalink
debug info & asserts to investigate #1857
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Jul 23, 2017
1 parent a3d884e commit 82829b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/playmp_controller.cpp
Expand Up @@ -121,6 +121,11 @@ void playmp_controller::play_human_turn()
{
LOG_NG << "playmp::play_human_turn...\n";
assert(!linger_);
assert(gamestate_->init_side_done());
assert(gamestate().gamedata_.phase() == game_data::PLAY);

LOG_NG << "events::commands_disabled=" << events::commands_disabled <<"\n";

remove_blindfold();
const std::unique_ptr<countdown_clock> timer(saved_game_.mp_settings().mp_countdown
? new countdown_clock(current_team())
Expand Down

0 comments on commit 82829b0

Please sign in to comment.