add log messsage
This commit is contained in:
parent
83a4b08e72
commit
cbead26ffe
1 changed files with 4 additions and 0 deletions
|
@ -418,6 +418,10 @@ possible_end_play_signal playsingle_controller::play_scenario_main_loop(end_leve
|
||||||
// allow the first turn to have an autosave.
|
// allow the first turn to have an autosave.
|
||||||
do_autosaves_ = !loading_game_;
|
do_autosaves_ = !loading_game_;
|
||||||
ai_testing::log_game_start();
|
ai_testing::log_game_start();
|
||||||
|
if(gamestate_.board_.teams().empty())
|
||||||
|
{
|
||||||
|
ERR_NG << "Playing game with 0 teams." << std::endl;
|
||||||
|
}
|
||||||
for(; ; first_player_ = 1) {
|
for(; ; first_player_ = 1) {
|
||||||
PROPOGATE_END_PLAY_SIGNAL( play_turn() );
|
PROPOGATE_END_PLAY_SIGNAL( play_turn() );
|
||||||
do_autosaves_ = true;
|
do_autosaves_ = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue