summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
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
commitcadf412dcd713c907f07d517cf8f393ab48c693d (patch)
tree7febc00f0d469bae93f40e04f7f3444d631e81cb /src/industry_cmd.cpp
parentbd7483ba3cdc33b753e36a4ca43ad6feea6222e1 (diff)
downloadopenttd-cadf412dcd713c907f07d517cf8f393ab48c693d.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.
Diffstat (limited to 'src/industry_cmd.cpp')
-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),