summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-08 21:16:17 +0000
committerrubidium <rubidium@openttd.org>2007-06-08 21:16:17 +0000
commit142f2aba15a3b37ff3aa9955c560deba6cd1572d (patch)
tree2aa048761612cb8d8155c246652c144c826b0fec /src/newgrf.cpp
parent653b34301823f8e83a844c4eb2a26c6c26f374d0 (diff)
downloadopenttd-142f2aba15a3b37ff3aa9955c560deba6cd1572d.tar.xz
(svn r10073) -Codechange: make the NewGRF paths in the config file without any full paths (again).
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 f91f947d6..3236b52c3 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -4941,7 +4941,7 @@ void LoadNewGRF(uint load_index, uint file_index)
if (c->status == GCS_DISABLED || c->status == GCS_NOT_FOUND) continue;
/* @todo usererror() */
- if (!FileExists(c->full_path)) error("NewGRF file is missing '%s'", c->filename);
+ if (!FioCheckFileExists(c->full_path)) error("NewGRF file is missing '%s'", c->filename);
if (stage == GLS_LABELSCAN) InitNewGRFFile(c, _cur_spriteid);
LoadNewGRFFile(c, slot++, stage);