summaryrefslogtreecommitdiff
path: root/src/saveload/industry_sl.cpp
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2020-12-22 14:21:31 +0100
committerGitHub <noreply@github.com>2020-12-22 14:21:31 +0100
commitb7751c483e5545aa683baf0b9f09a0add34cfefd (patch)
treea77c33c650821f0c7fe2ed6d369cb3518b7e3420 /src/saveload/industry_sl.cpp
parent547e5fdb65ae1c7909ef602a58085e5146782b42 (diff)
downloadopenttd-b7751c483e5545aa683baf0b9f09a0add34cfefd.tar.xz
Feature: Influence industry production changes from GS (#7912)
Diffstat (limited to 'src/saveload/industry_sl.cpp')
-rw-r--r--src/saveload/industry_sl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/saveload/industry_sl.cpp b/src/saveload/industry_sl.cpp
index f5b1464c1..8f7301120 100644
--- a/src/saveload/industry_sl.cpp
+++ b/src/saveload/industry_sl.cpp
@@ -56,6 +56,7 @@ static const SaveLoad _industry_desc[] = {
SLE_CONDVAR(Industry, last_prod_year, SLE_FILE_U8 | SLE_VAR_I32, SL_MIN_VERSION, SLV_31),
SLE_CONDVAR(Industry, last_prod_year, SLE_INT32, SLV_31, SL_MAX_VERSION),
SLE_VAR(Industry, was_cargo_delivered, SLE_UINT8),
+ SLE_CONDVAR(Industry, ctlflags, SLE_UINT8, SLV_GS_INDUSTRY_CONTROL, SL_MAX_VERSION),
SLE_CONDVAR(Industry, founder, SLE_UINT8, SLV_70, SL_MAX_VERSION),
SLE_CONDVAR(Industry, construction_date, SLE_INT32, SLV_70, SL_MAX_VERSION),