Fix: La animación de muerte era incorrecta y salia disparado el sprite

This commit is contained in:
2022-11-15 19:49:51 +01:00
parent 9708f4e7ff
commit def2d16734
3 changed files with 8 additions and 3 deletions

View File

@@ -662,6 +662,10 @@ void Title::checkEventHandler()
{
switch (eventHandler->key.keysym.scancode)
{
case SDL_SCANCODE_ESCAPE:
section.name = PROG_SECTION_QUIT;
break;
case SDL_SCANCODE_F:
screen->switchVideoMode();
reloadTextures();