summaryrefslogtreecommitdiff
path: root/src/saveload/industry_sl.cpp
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-03-12 19:38:00 +0000
committerterkhen <terkhen@openttd.org>2010-03-12 19:38:00 +0000
commit4eb6e3f0603a2b13d5d3d8016b071a7419d81bb0 (patch)
treea048d0ec80ad9ef247bebdd46693469d16098bd1 /src/saveload/industry_sl.cpp
parent0903463824538dcec8a19fb3f5c4a6f1bfa2860a (diff)
downloadopenttd-4eb6e3f0603a2b13d5d3d8016b071a7419d81bb0.tar.xz
(svn r19392) -Codechange: Increase the maximum size of a TileArea.
Diffstat (limited to 'src/saveload/industry_sl.cpp')
-rw-r--r--src/saveload/industry_sl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/saveload/industry_sl.cpp b/src/saveload/industry_sl.cpp
index 9fef37935..9b4dd2b3d 100644
--- a/src/saveload/industry_sl.cpp
+++ b/src/saveload/industry_sl.cpp
@@ -18,8 +18,8 @@
static const SaveLoad _industry_desc[] = {
SLE_CONDVAR(Industry, location.tile, SLE_FILE_U16 | SLE_VAR_U32, 0, 5),
SLE_CONDVAR(Industry, location.tile, SLE_UINT32, 6, SL_MAX_VERSION),
- SLE_VAR(Industry, location.w, SLE_UINT8),
- SLE_VAR(Industry, location.h, SLE_UINT8),
+ SLE_VAR(Industry, location.w, SLE_FILE_U8 | SLE_VAR_U16),
+ SLE_VAR(Industry, location.h, SLE_FILE_U8 | SLE_VAR_U16),
SLE_REF(Industry, town, REF_TOWN),
SLE_CONDNULL( 2, 0, 60), ///< used to be industry's produced_cargo
SLE_CONDARR(Industry, produced_cargo, SLE_UINT8, 2, 78, SL_MAX_VERSION),