Resuelto un bug con la detección de superficies

This commit is contained in:
2022-11-07 17:00:48 +01:00
parent 50309fd30e
commit 8ae821733c
3 changed files with 39 additions and 27 deletions

View File

@@ -19,10 +19,10 @@ Game::Game(SDL_Renderer *renderer, Screen *screen, Resource *resource, Asset *as
this->options = options;
// ****
//currentRoom = "03.room";
//const int x = 29;
//const int y = 13;
//spawnPoint = {x * 8, y * 8, 0, 0, 0, s_standing, SDL_FLIP_HORIZONTAL};
currentRoom = "03.room";
const int x = 29;
const int y = 13;
spawnPoint = {x * 8, y * 8, 0, 0, 0, s_standing, SDL_FLIP_HORIZONTAL};
// ****
// Crea los objetos