summaryrefslogtreecommitdiff
path: root/vehicle.c
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
commit4c8c1e8f6a60dcba011aaf495aa3f38b15c577e5 (patch)
tree2797fd8871242ab9beb93ca705a068b3b8285464 /vehicle.c
parent92c37bd5ea8e58abbc6a543c46840c30bbc7f6f7 (diff)
downloadopenttd-4c8c1e8f6a60dcba011aaf495aa3f38b15c577e5.tar.xz
(svn r3619) - Codechange: Simplify a NullStruct initialization in the vehicle array (merge the two together to avoid confusion)
Diffstat (limited to 'vehicle.c')
-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()
};