summaryrefslogtreecommitdiff
path: root/src/console_cmds.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2016-09-04 12:56:23 +0000
committeralberth <alberth@openttd.org>2016-09-04 12:56:23 +0000
commit75ad6d01003ec807918b6dbad85f17ecf35f8bc5 (patch)
tree0c2014b6bbbe351b0df703ca2d64338d6b1062e1 /src/console_cmds.cpp
parent2d7201781bdf31fc1349ad465333e9d08bb39bfd (diff)
downloadopenttd-75ad6d01003ec807918b6dbad85f17ecf35f8bc5.tar.xz
(svn r27647) -Codechange: Introduce file operations, and use it to replace most of SaveLoadDialogMode
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 7d2a99bf8..6284287c0 100644
--- a/src/console_cmds.cpp
+++ b/src/console_cmds.cpp
@@ -67,7 +67,7 @@ public:
void ValidateFileList(bool force_reload = false)
{
if (force_reload || !this->file_list_valid) {
- this->BuildFileList(SLD_LOAD_GAME);
+ this->BuildFileList(FT_SAVEGAME, FOP_LOAD);
this->file_list_valid = true;
}
}