Skip to content

Commit

Permalink
remove some SDL_Delay() calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Mar 5, 2015
1 parent 017dbde commit 04bbd3b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/playmp_controller.cpp
Expand Up @@ -135,7 +135,7 @@ void playmp_controller::play_human_turn()
}
show_turn_dialog();
if(undo_stack_->can_undo()) {
// If we reload a networked mp game we cannot undo moved made before the save
// If we reload a networked mp game we cannot undo moves made before the save
// Becasue other players already received them
synced_context::run_and_store("update_shroud", replay_helper::get_update_shroud());
undo_stack_->clear();
Expand Down Expand Up @@ -173,7 +173,6 @@ void playmp_controller::play_human_turn()
play_slice_catch();
if(timer)
{
SDL_Delay(1);
bool time_left = timer->update();
if(!time_left)
{
Expand Down
1 change: 0 additions & 1 deletion src/playsingle_controller.cpp
Expand Up @@ -737,7 +737,6 @@ void playsingle_controller::play_ai_turn()
gui_->invalidate_game_status();
gui_->invalidate_all();
gui_->draw();
gui_->delay(100);
}


Expand Down

0 comments on commit 04bbd3b

Please sign in to comment.