summaryrefslogtreecommitdiff
path: root/src/console_cmds.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2016-09-04 12:54:03 +0000
committeralberth <alberth@openttd.org>2016-09-04 12:54:03 +0000
commitcaf33797463560617526cbb38eac5e8b77eda242 (patch)
tree0b1aadd9ea424d5e95ddf1d2364fb3f1b6a37c3c /src/console_cmds.cpp
parentbc08fe7c5f449ff12bd7c76553781f59a325507f (diff)
downloadopenttd-caf33797463560617526cbb38eac5e8b77eda242.tar.xz
(svn r27642) -Codechange: FiosGet* file query functions take a destination file list.
Diffstat (limited to 'src/console_cmds.cpp')
-rw-r--r--src/console_cmds.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp
index 7db151d77..ae6e5458e 100644
--- a/src/console_cmds.cpp
+++ b/src/console_cmds.cpp
@@ -462,7 +462,7 @@ DEF_CONSOLE_CMD(ConPrintWorkingDirectory)
}
/* XXX - Workaround for broken file handling */
- FiosGetSavegameList(SLD_LOAD_GAME);
+ FiosGetSavegameList(SLD_LOAD_GAME, _fios_items);
_fios_items.Clear();
FiosGetDescText(&path, NULL);