diff options
Diffstat (limited to 'src/saveload/goal_sl.cpp')
-rw-r--r-- | src/saveload/goal_sl.cpp | 10 |
1 files changed, 6 insertions, 4 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() }; |