summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/saveload/goal_sl.cpp4
1 files changed, 2 insertions, 2 deletions
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),