summaryrefslogtreecommitdiff
path: root/src/console_cmds.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2016-09-04 12:47:07 +0000
committeralberth <alberth@openttd.org>2016-09-04 12:47:07 +0000
commit2fa0fdb1768f45ffaf4fe14fbdbdb73d501d6c36 (patch)
treeffe7234137f524ab7c0ebf484c9d383e56311333 /src/console_cmds.cpp
parent3b8ede5ebe74bafba528f0bf40942c1367cbcaee (diff)
downloadopenttd-2fa0fdb1768f45ffaf4fe14fbdbdb73d501d6c36.tar.xz
(svn r27638) -Codechange: Move FiosType enum, move and rename SetFiosType function.
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 8df5b15cd..67f3f6098 100644
--- a/src/console_cmds.cpp
+++ b/src/console_cmds.cpp
@@ -366,7 +366,7 @@ DEF_CONSOLE_CMD(ConLoad)
switch (item->type) {
case FIOS_TYPE_FILE: case FIOS_TYPE_OLDFILE: {
_switch_mode = SM_LOAD_GAME;
- SetFiosType(item->type);
+ _file_to_saveload.SetMode(item->type);
strecpy(_file_to_saveload.name, FiosBrowseTo(item), lastof(_file_to_saveload.name));
strecpy(_file_to_saveload.title, item->title, lastof(_file_to_saveload.title));