summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-02-20 01:36:48 +0000
committerDarkvater <Darkvater@openttd.org>2006-02-20 01:36:48 +0000
commitdac14d4210d810e727b97eea15d112529c63bf2e (patch)
tree2797fd8871242ab9beb93ca705a068b3b8285464
parentb6cdb521a172cd4c25c94c3578e6c5da52d914f2 (diff)
downloadopenttd-dac14d4210d810e727b97eea15d112529c63bf2e.tar.xz
(svn r3619) - Codechange: Simplify a NullStruct initialization in the vehicle array (merge the two together to avoid confusion)
-rw-r--r--vehicle.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vehicle.c b/vehicle.c
index 97b186b22..cac8e3315 100644
--- a/vehicle.c
+++ b/vehicle.c
@@ -2131,8 +2131,7 @@ const SaveLoad _common_veh_desc[] = {
SLE_REF(Vehicle,prev_shared, REF_VEHICLE),
// reserve extra space in savegame here. (currently 10 bytes)
- SLE_CONDARR(NullStruct,null,SLE_FILE_U8 | SLE_VAR_NULL, 2, 2, 255), /* 2 */
- SLE_CONDARR(NullStruct,null,SLE_FILE_U32 | SLE_VAR_NULL, 2, 2, 255), /* 8 */
+ SLE_CONDARR(NullStruct,null,SLE_FILE_U8 | SLE_VAR_NULL, 10, 2, 255),
SLE_END()
};