Added sanity checks to tiles

This commit is contained in:
Alan Youngblood
2023-08-05 18:08:05 -04:00
parent 7b2ed8e27b
commit 936b6806eb
4 changed files with 20 additions and 16 deletions

View File

@ -246,7 +246,7 @@ void Game::init(const char *title, int width, int height, bool fullscreen, int g
// puppy.addComponent<TransformComponent>(1024*globalScale,210*globalScale,36,30,globalScale);
// puppy.addComponent<SpriteComponent>("puppy", SpriteComponent::spriteObject);
// puppy.addGroup(groupObjects);
printf("Init Completed\n");
//printf("Init Completed\n");
} else {
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't Initialize SDL: %s", SDL_GetError());
isRunning = false;