summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-08-24 13:42:06 +0000
committerrubidium <rubidium@openttd.org>2011-08-24 13:42:06 +0000
commit2a12c9df2ff36a5ad7f6e5c84438ac5571f6ba8c (patch)
treefeedc3017e18e5f5647b81530bb0239ff4c151dc /src/newgrf.cpp
parent05300a00b1c82b1c411b38fb024a6decfefce4f8 (diff)
downloadopenttd-2a12c9df2ff36a5ad7f6e5c84438ac5571f6ba8c.tar.xz
(svn r22825) -Codechange: pass subdir to FioOpenFile
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 94d57e7c5..d4594356a 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -8105,7 +8105,7 @@ void LoadNewGRFFile(GRFConfig *config, uint file_index, GrfLoadingStage stage)
return;
}
- FioOpenFile(file_index, filename);
+ FioOpenFile(file_index, filename, NEWGRF_DIR);
_cur.file_index = file_index; // XXX
_palette_remap_grf[_cur.file_index] = (config->palette & GRFP_USE_MASK);