- La ventana ya no se destruye al cambiar de tamaño de ventana

- La ventana aparece centrada al cambiar de tamaño
This commit is contained in:
2023-02-12 17:05:16 +01:00
parent d1143b9dfe
commit 8b3d257baf
3 changed files with 12 additions and 90 deletions

View File

@@ -21,7 +21,7 @@ Game::Game(SDL_Renderer *renderer, Screen *screen, Resource *resource, Asset *as
const int x = 25;
const int y = 13;
spawnPoint = {x * 8, y * 8, 0, 0, 0, s_standing, SDL_FLIP_HORIZONTAL};
debug->setEnabled(true);
debug->setEnabled(false);
#else
currentRoom = "03.room";
const int x = 25;