summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-09-04 12:00:12 +0000
committerrubidium <rubidium@openttd.org>2007-09-04 12:00:12 +0000
commita0559dd89eae25d6ba12721b0240f869da97cc26 (patch)
tree7febc00f0d469bae93f40e04f7f3444d631e81cb
parent9706c32ed69f560199ea6232fb5078876912e1e9 (diff)
downloadopenttd-a0559dd89eae25d6ba12721b0240f869da97cc26.tar.xz
(svn r11041) -Fix (r10460) [FS#1195]: the industry's owner was saved twice instead of the owner and the founder. Patch by frosch.
-rw-r--r--src/industry_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp
index 57332103f..b24c5b877 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -2020,7 +2020,7 @@ static const SaveLoad _industry_desc[] = {
SLE_CONDVAR(Industry, last_prod_year, SLE_INT32, 31, SL_MAX_VERSION),
SLE_VAR(Industry, was_cargo_delivered, SLE_UINT8),
- SLE_CONDVAR(Industry, owner, SLE_UINT8, 70, SL_MAX_VERSION),
+ SLE_CONDVAR(Industry, founder, SLE_UINT8, 70, SL_MAX_VERSION),
SLE_CONDVAR(Industry, construction_date, SLE_INT32, 70, SL_MAX_VERSION),
SLE_CONDVAR(Industry, construction_type, SLE_UINT8, 70, SL_MAX_VERSION),
SLE_CONDVAR(Industry, last_cargo_accepted_at, SLE_INT32, 70, SL_MAX_VERSION),