diff options
author | rubidium <rubidium@openttd.org> | 2011-08-24 13:42:06 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-08-24 13:42:06 +0000 |
commit | 2a12c9df2ff36a5ad7f6e5c84438ac5571f6ba8c (patch) | |
tree | feedc3017e18e5f5647b81530bb0239ff4c151dc /src/spriteloader | |
parent | 05300a00b1c82b1c411b38fb024a6decfefce4f8 (diff) | |
download | openttd-2a12c9df2ff36a5ad7f6e5c84438ac5571f6ba8c.tar.xz |
(svn r22825) -Codechange: pass subdir to FioOpenFile
Diffstat (limited to 'src/spriteloader')
-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; } |