diff options
Diffstat (limited to 'src/spriteloader/png.cpp')
-rw-r--r-- | src/spriteloader/png.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spriteloader/png.cpp b/src/spriteloader/png.cpp index fa66ae3f1..a1a6aa4a1 100644 --- a/src/spriteloader/png.cpp +++ b/src/spriteloader/png.cpp @@ -43,7 +43,7 @@ static bool OpenPNGFile(const char *filename, uint32 id, bool mask) const char *sep = (filename[0] == PATHSEPCHAR) ? "" : PATHSEP; snprintf(png_file, sizeof(png_file), "sprites%s%s" PATHSEP "%d%s.png", sep, filename, id, mask ? "m" : ""); if (FioCheckFileExists(png_file)) { - FioOpenFile(PNG_SLOT, png_file); + FioOpenFile(PNG_SLOT, png_file, NEWGRF_DIR); return true; } |