Skip to content

Commit

Permalink
Fix mixed tabs and spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin-Xi committed Jun 13, 2014
1 parent c9c3366 commit fa5fce4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/ai/manager.cpp
Expand Up @@ -401,16 +401,16 @@ void manager::remove_turn_started_observer( events::observer* event_observer )
}

void manager::raise_user_interact() {
const int interact_time = 30;
const int time_since_interact = SDL_GetTicks() - last_interact_;
if(time_since_interact < interact_time) {
return;
}
const int interact_time = 30;
const int time_since_interact = SDL_GetTicks() - last_interact_;
if(time_since_interact < interact_time) {
return;
}

++num_interact_;
user_interact_.notify_observers();
user_interact_.notify_observers();

last_interact_ = SDL_GetTicks();
last_interact_ = SDL_GetTicks();

}

Expand Down

0 comments on commit fa5fce4

Please sign in to comment.