- [FIX] [#2] Quan et donen una cat's life, ja no torna la música del joc
- [FIX] [#3] Quan entres a la habitació de la depuradora ... - [FIX] [#4] ficar anbernics recopilades en el game over i altres pantalles de resum - [FIX] [#5] que al acabar el joc la seuquencia acabe amb els stats, com el game over
This commit is contained in:
@@ -72,6 +72,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (SDL_GetTicks()-current_ticks >= game::ticks_per_frame)
|
||||
{
|
||||
current_ticks = SDL_GetTicks();
|
||||
if (!game::loop()) game::should_exit = true;
|
||||
input::updateKey(SDL_SCANCODE_UNKNOWN);
|
||||
input::updateKeypressed(SDL_SCANCODE_UNKNOWN);
|
||||
@@ -79,7 +80,6 @@ int main(int argc, char *argv[])
|
||||
input::updateWheel(0);
|
||||
input::updatePadBtn(SDL_CONTROLLER_BUTTON_INVALID);
|
||||
input::updatePadBtnPressed(SDL_CONTROLLER_BUTTON_INVALID);
|
||||
current_ticks = SDL_GetTicks();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user