summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2011-12-12 18:55:04 +0000
committeryexo <yexo@openttd.org>2011-12-12 18:55:04 +0000
commit89854e0ab12975955e46e9d98f9f0212f80c3605 (patch)
treefa4a0c95a940a4f07edc46f157e83b9a87142394 /src
parentea99c28d70a0b641522b1f9455702b880bf3fd70 (diff)
downloadopenttd-89854e0ab12975955e46e9d98f9f0212f80c3605.tar.xz
(svn r23501) -Fix: loading scenarios downloaded from the online content didn't work anymore
Diffstat (limited to 'src')
-rw-r--r--src/saveload/saveload.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/saveload/saveload.cpp b/src/saveload/saveload.cpp
index afcd9332a..b6eaf662c 100644
--- a/src/saveload/saveload.cpp
+++ b/src/saveload/saveload.cpp
@@ -2700,6 +2700,7 @@ SaveOrLoadResult SaveOrLoad(const char *filename, int mode, Subdirectory sb, boo
/* Make it a little easier to load savegames from the console */
if (fh == NULL && mode != SL_SAVE) fh = FioFOpenFile(filename, "rb", SAVE_DIR);
if (fh == NULL && mode != SL_SAVE) fh = FioFOpenFile(filename, "rb", BASE_DIR);
+ if (fh == NULL && mode != SL_SAVE) fh = FioFOpenFile(filename, "rb", SCENARIO_DIR);
if (fh == NULL) {
SlError(mode == SL_SAVE ? STR_GAME_SAVELOAD_ERROR_FILE_NOT_WRITEABLE : STR_GAME_SAVELOAD_ERROR_FILE_NOT_READABLE);