fixed main screen
This commit is contained in:
@ -148,8 +148,11 @@ void MenuState::handleEvent(const SDL_Event& e) {
|
||||
}
|
||||
|
||||
void MenuState::update(double frameMs) {
|
||||
// Update logo animation counter and particles similar to main
|
||||
(void)frameMs;
|
||||
// Update logo animation counter
|
||||
GlobalState::instance().logoAnimCounter += frameMs;
|
||||
|
||||
// Update fireworks particles
|
||||
GlobalState::instance().updateFireworks(frameMs);
|
||||
}
|
||||
|
||||
void MenuState::render(SDL_Renderer* renderer, float logicalScale, SDL_Rect logicalVP) {
|
||||
|
||||
Reference in New Issue
Block a user