summaryrefslogtreecommitdiff
path: root/src/gfxinit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gfxinit.cpp')
-rw-r--r--src/gfxinit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gfxinit.cpp b/src/gfxinit.cpp
index 98d0ad390..eeaac8d9f 100644
--- a/src/gfxinit.cpp
+++ b/src/gfxinit.cpp
@@ -38,7 +38,7 @@ static uint LoadGrfFile(const char *filename, uint load_index, int file_index)
uint load_index_org = load_index;
uint sprite_id = 0;
- FioOpenFile(file_index, filename);
+ FioOpenFile(file_index, filename, NEWGRF_DIR);
DEBUG(sprite, 2, "Reading grf-file '%s'", filename);
@@ -73,7 +73,7 @@ static void LoadGrfIndexed(const char *filename, const SpriteID *index_tbl, int
{
uint sprite_id = 0;
- FioOpenFile(file_index, filename);
+ FioOpenFile(file_index, filename, NEWGRF_DIR);
DEBUG(sprite, 2, "Reading indexed grf-file '%s'", filename);