From 2a4f0fb67df748992213cd620c65ba8beaa5bd4e Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 17 May 2014 17:18:07 +0000 Subject: (svn r26593) -Fix: Goals were saved/loaded with incorrect size. --- src/saveload/goal_sl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/saveload/goal_sl.cpp b/src/saveload/goal_sl.cpp index c415d8ba4..4d1441787 100644 --- a/src/saveload/goal_sl.cpp +++ b/src/saveload/goal_sl.cpp @@ -17,8 +17,8 @@ #include "../safeguards.h" static const SaveLoad _goals_desc[] = { - SLE_VAR(Goal, company, SLE_UINT16), - SLE_VAR(Goal, type, SLE_UINT16), + SLE_VAR(Goal, company, SLE_FILE_U16 | SLE_VAR_U8), + SLE_VAR(Goal, type, SLE_FILE_U16 | SLE_VAR_U8), 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), -- cgit v1.2.3-70-g09d2