diff --git a/src/system/atlas.c b/src/system/atlas.c index 7aaa6b7..c71bd66 100644 --- a/src/system/atlas.c +++ b/src/system/atlas.c @@ -46,6 +46,11 @@ Atlas *getImageFromAtlas(char *filename) } } + if (!strstr(filename, "/tiles/")) + { + SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_WARN, "No such atlas image '%s'", filename); + } + return NULL; }