summaryrefslogtreecommitdiff
path: root/src/saveload/goal_sl.cpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-19 21:06:06 +0000
committertruebrain <truebrain@openttd.org>2011-12-19 21:06:06 +0000
commit102f811d0277afefe5c90762c0c4cc11ab69713c (patch)
tree1c7343e8031eab2c764cff974bd9df9a814c3dd9 /src/saveload/goal_sl.cpp
parentb0ac529a6ff4e087520a14d2a0169f445952e7e0 (diff)
downloadopenttd-102f811d0277afefe5c90762c0c4cc11ab69713c.tar.xz
(svn r23636) -Add: introduce ScriptText in parameters where it can be used
Diffstat (limited to 'src/saveload/goal_sl.cpp')
-rw-r--r--src/saveload/goal_sl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/goal_sl.cpp b/src/saveload/goal_sl.cpp
index 721909a77..b8df122b3 100644
--- a/src/saveload/goal_sl.cpp
+++ b/src/saveload/goal_sl.cpp
@@ -18,7 +18,7 @@ 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, 0),
+ SLE_STR(Goal, text, SLE_STR | SLF_ALLOW_CONTROL, 0),
SLE_END()
};