Loading Screen: temporarily disable animation rate limiter
Seems to make the loading screen progress faster and gets rid of the weird issue where the animation sometime wouldn't show up on game launch. Odd.
This commit is contained in:
parent
7a020c3130
commit
baab5a8156
1 changed files with 4 additions and 4 deletions
|
@ -174,16 +174,16 @@ void loading_screen::draw_callback()
|
|||
progress_stage_label_->set_label(iter->second);
|
||||
}
|
||||
|
||||
if(SDL_GetTicks() < next_animation_time_) {
|
||||
return;
|
||||
}
|
||||
//if(SDL_GetTicks() < next_animation_time_) {
|
||||
// return;
|
||||
//}
|
||||
|
||||
++animation_counter_;
|
||||
if(animation_counter_ % 2 == 0) {
|
||||
animation_label_->set_label(animation_stages_[(animation_counter_ / 2) % animation_stages_.size()]);
|
||||
}
|
||||
|
||||
set_next_animation_time();
|
||||
//set_next_animation_time();
|
||||
}
|
||||
|
||||
loading_screen::~loading_screen()
|
||||
|
|
Loading…
Add table
Reference in a new issue