diff options
Diffstat (limited to 'src/fios_gui.cpp')
-rw-r--r-- | src/fios_gui.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/fios_gui.cpp b/src/fios_gui.cpp index 527f3eddd..22c2c0119 100644 --- a/src/fios_gui.cpp +++ b/src/fios_gui.cpp @@ -29,11 +29,24 @@ #include "table/strings.h" SaveLoadDialogMode _saveload_mode; +LoadCheckData _load_check_data; ///< Data loaded from save during SL_LOAD_CHECK. static bool _fios_path_changed; static bool _savegame_sort_dirty; +/** + * Reset read data. + */ +void LoadCheckData::Clear() +{ + this->checkable = false; + this->error = INVALID_STRING_ID; + free(this->error_data); + this->error_data = NULL; +} + + enum SaveLoadWindowWidgets { SLWW_WINDOWTITLE, SLWW_SORT_BYNAME, |