delta-time: explosions.cpp
This commit is contained in:
@@ -616,12 +616,12 @@ void Credits::updateAllFades(float deltaTime) {
|
||||
updateRedRect();
|
||||
}
|
||||
|
||||
fade_in_->update(); // Fade aún no migrado a deltaTime
|
||||
fade_in_->update(); // Fade ya usa tiempo interno
|
||||
if (fade_in_->hasEnded()) {
|
||||
Audio::get()->playMusic("credits.ogg");
|
||||
}
|
||||
|
||||
fade_out_->update(); // Fade aún no migrado a deltaTime
|
||||
fade_out_->update(); // Fade ya usa tiempo interno
|
||||
if (fade_out_->hasEnded()) {
|
||||
Section::name = Section::Name::HI_SCORE_TABLE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user