diff options
author | belugas <belugas@openttd.org> | 2007-05-18 00:33:47 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-05-18 00:33:47 +0000 |
commit | 380d18fb69b0318f9c442526572ebf589b8e5d54 (patch) | |
tree | 0f4edac96e152260deb0ea541ace05ad039c8170 /src/oldloader.cpp | |
parent | 44ddf033ed4915d533420be8cadadeec91ed323c (diff) | |
download | openttd-380d18fb69b0318f9c442526572ebf589b8e5d54.tar.xz |
(svn r9867) -Codechange: Remove data duplication. The exact same values can be found in the industry spec, so take it from there instead.
Diffstat (limited to 'src/oldloader.cpp')
-rw-r--r-- | src/oldloader.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/oldloader.cpp b/src/oldloader.cpp index da2dd4836..37e178261 100644 --- a/src/oldloader.cpp +++ b/src/oldloader.cpp @@ -651,8 +651,7 @@ static const OldChunks industry_chunk[] = { OCL_VAR ( OC_UINT32, 1, &_old_town_index ), OCL_SVAR( OC_UINT8, Industry, width ), OCL_SVAR( OC_UINT8, Industry, height ), - OCL_SVAR( OC_UINT8, Industry, produced_cargo[0] ), - OCL_SVAR( OC_UINT8, Industry, produced_cargo[1] ), + OCL_NULL( 2 ), ///< used to be industry's produced_cargo OCL_SVAR( OC_UINT16, Industry, cargo_waiting[0] ), OCL_SVAR( OC_UINT16, Industry, cargo_waiting[1] ), @@ -660,9 +659,7 @@ static const OldChunks industry_chunk[] = { OCL_SVAR( OC_UINT8, Industry, production_rate[0] ), OCL_SVAR( OC_UINT8, Industry, production_rate[1] ), - OCL_SVAR( OC_UINT8, Industry, accepts_cargo[0] ), - OCL_SVAR( OC_UINT8, Industry, accepts_cargo[1] ), - OCL_SVAR( OC_UINT8, Industry, accepts_cargo[2] ), + OCL_NULL( 3 ), ///< used to be industry's accepts_cargo OCL_SVAR( OC_UINT8, Industry, prod_level ), |