diff options
author | alberth <alberth@openttd.org> | 2016-09-04 12:57:43 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2016-09-04 12:57:43 +0000 |
commit | 597380e099688652e31fd1f406b53dee6b65da90 (patch) | |
tree | ac7bdedf8b7fd9d8f096465c3cbb1b41b40f1e78 /src/fios_gui.cpp | |
parent | df9a9f074a55a839a5f311e5c0837342192e720d (diff) | |
download | openttd-597380e099688652e31fd1f406b53dee6b65da90.tar.xz |
(svn r27650) -Codechange: Replace SaveOrLoadMode by FileOperation and DetailedFileType.
Diffstat (limited to 'src/fios_gui.cpp')
-rw-r--r-- | src/fios_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fios_gui.cpp b/src/fios_gui.cpp index a4e495b49..0c09f96ab 100644 --- a/src/fios_gui.cpp +++ b/src/fios_gui.cpp @@ -584,7 +584,7 @@ public: if (GetDetailedFileType(file->type) == DFT_GAME_FILE) { /* Other detailed file types cannot be checked before. */ - SaveOrLoad(name, SL_LOAD_CHECK, NO_DIRECTORY, false); + SaveOrLoad(name, FOP_CHECK, DFT_GAME_FILE, NO_DIRECTORY, false); } this->InvalidateData(1); @@ -777,7 +777,7 @@ void ShowSaveLoadDialog(AbstractFileType abstract_filetype, FileOperation fop) sld = (abstract_filetype == FT_HEIGHTMAP) ? &_load_heightmap_dialog_desc : &_load_dialog_desc; } - _file_to_saveload.filetype = abstract_filetype; + _file_to_saveload.abstract_ftype = abstract_filetype; new SaveLoadWindow(sld, abstract_filetype, fop); } |