diff options
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/goal_sl.cpp | 10 | ||||
-rw-r--r-- | src/saveload/saveload.cpp | 4 |
2 files changed, 8 insertions, 6 deletions
diff --git a/src/saveload/goal_sl.cpp b/src/saveload/goal_sl.cpp index b8df122b3..1c260503e 100644 --- a/src/saveload/goal_sl.cpp +++ b/src/saveload/goal_sl.cpp @@ -15,10 +15,12 @@ #include "saveload.h" static const SaveLoad _goals_desc[] = { - SLE_VAR(Goal, company, SLE_UINT16), - SLE_VAR(Goal, type, SLE_UINT16), - SLE_VAR(Goal, dst, SLE_UINT32), - SLE_STR(Goal, text, SLE_STR | SLF_ALLOW_CONTROL, 0), + SLE_VAR(Goal, company, SLE_UINT16), + SLE_VAR(Goal, type, SLE_UINT16), + SLE_VAR(Goal, dst, SLE_UINT32), + SLE_STR(Goal, text, SLE_STR | SLF_ALLOW_CONTROL, 0), + SLE_CONDSTR(Goal, progress, SLE_STR | SLF_ALLOW_CONTROL, 0, 182, SL_MAX_VERSION), + SLE_CONDVAR(Goal, completed, SLE_BOOL, 182, SL_MAX_VERSION), SLE_END() }; diff --git a/src/saveload/saveload.cpp b/src/saveload/saveload.cpp index 8b0ee1109..9a18c33d9 100644 --- a/src/saveload/saveload.cpp +++ b/src/saveload/saveload.cpp @@ -246,9 +246,9 @@ * 179 24810 * 180 24998 1.3.x * 181 25012 - * 182 25259 + * 182 25296 */ -extern const uint16 SAVEGAME_VERSION = 181; ///< Current savegame version of OpenTTD. +extern const uint16 SAVEGAME_VERSION = 182; ///< Current savegame version of OpenTTD. SavegameType _savegame_type; ///< type of savegame we are loading |