diff options
author | rubidium <rubidium@openttd.org> | 2011-08-24 13:53:34 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-08-24 13:53:34 +0000 |
commit | b4edc30c64b98d35fd35eb53eccd52bfc039c1f7 (patch) | |
tree | 4deef2b9a21ab44ef83f59d847bbb883dc34a540 /src/fios.cpp | |
parent | 8e5f433b22a36b2210c4e7386b476382afad7dd6 (diff) | |
download | openttd-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.cpp | 2 |
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; |