summaryrefslogtreecommitdiff
path: root/src/openttd.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/openttd.cpp
parent3b8ede5ebe74bafba528f0bf40942c1367cbcaee (diff)
downloadopenttd-2fa0fdb1768f45ffaf4fe14fbdbdb73d501d6c36.tar.xz
(svn r27638) -Codechange: Move FiosType enum, move and rename SetFiosType function.
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index c149ebbd4..b5f654df6 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -626,7 +626,7 @@ int openttd_main(int argc, char *argv[])
const char *t = strrchr(_file_to_saveload.name, '.');
if (t != NULL) {
FiosType ft = FiosGetSavegameListCallback(SLD_LOAD_GAME, _file_to_saveload.name, t, NULL, NULL);
- if (ft != FIOS_TYPE_INVALID) SetFiosType(ft);
+ if (ft != FIOS_TYPE_INVALID) _file_to_saveload.SetMode(ft);
}
break;