Show objectives at the proper time at start of turn (bug 23518)

This commit is contained in:
Charles Dang 2015-04-24 01:45:33 +11:00
parent 36451c214f
commit ba3f4129fe
3 changed files with 3 additions and 3 deletions

View file

@ -867,7 +867,7 @@ void play_controller::check_victory()
{
return;
}
check_objectives();
if (is_regular_game_end()) {
return;
}
@ -886,7 +886,6 @@ void play_controller::check_victory()
if (found_player || found_network_player) {
pump().fire("enemies defeated");
check_objectives();
if (is_regular_game_end()) {
return;
}

View file

@ -170,7 +170,7 @@ void playmp_controller::play_human_turn()
undo_stack_->undo();
}
check_objectives();
play_slice_catch();
if(timer)
{

View file

@ -575,6 +575,7 @@ void playsingle_controller::play_human_turn() {
end_turn_enable(true);
while(!should_return_to_play_side()) {
check_objectives();
play_slice_catch();
gui_->draw();
}