1
0
Fork 0

(svn r26593) -Fix: Goals were saved/loaded with incorrect size.

release/1.5
frosch 2014-05-17 17:18:07 +00:00
parent fb63f7a3ef
commit 2a4f0fb67d
1 changed files with 2 additions and 2 deletions

View File

@ -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),