summaryrefslogtreecommitdiff
path: root/src/fios.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-08-24 13:53:34 +0000
committerrubidium <rubidium@openttd.org>2011-08-24 13:53:34 +0000
commitb4edc30c64b98d35fd35eb53eccd52bfc039c1f7 (patch)
tree4deef2b9a21ab44ef83f59d847bbb883dc34a540 /src/fios.cpp
parent8e5f433b22a36b2210c4e7386b476382afad7dd6 (diff)
downloadopenttd-b4edc30c64b98d35fd35eb53eccd52bfc039c1f7.tar.xz
(svn r22827) -Codechange: pass the/a more proper sub directory when opening (some) files instead of the default one
Diffstat (limited to 'src/fios.cpp')
-rw-r--r--src/fios.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fios.cpp b/src/fios.cpp
index f30b38210..627fdf291 100644
--- a/src/fios.cpp
+++ b/src/fios.cpp
@@ -599,7 +599,7 @@ public:
/* virtual */ bool AddFile(const char *filename, size_t basepath_length)
{
- FILE *f = FioFOpenFile(filename, "r");
+ FILE *f = FioFOpenFile(filename, "r", SCENARIO_DIR);
if (f == NULL) return false;
ScenarioIdentifier id;