(svn r27647) -Codechange: Introduce file operations, and use it to replace most of SaveLoadDialogMode

This commit is contained in:
alberth
2016-09-04 12:56:23 +00:00
parent 2d7201781b
commit 75ad6d0100
6 changed files with 80 additions and 51 deletions

View File

@@ -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;
}
}