diff options
author | alberth <alberth@openttd.org> | 2016-09-04 12:47:07 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2016-09-04 12:47:07 +0000 |
commit | 2fa0fdb1768f45ffaf4fe14fbdbdb73d501d6c36 (patch) | |
tree | ffe7234137f524ab7c0ebf484c9d383e56311333 /src/console_cmds.cpp | |
parent | 3b8ede5ebe74bafba528f0bf40942c1367cbcaee (diff) | |
download | openttd-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.cpp | 2 |
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)); |