diff options
author | Darkvater <darkvater@openttd.org> | 2006-02-20 01:36:48 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-02-20 01:36:48 +0000 |
commit | 4c8c1e8f6a60dcba011aaf495aa3f38b15c577e5 (patch) | |
tree | 2797fd8871242ab9beb93ca705a068b3b8285464 | |
parent | 92c37bd5ea8e58abbc6a543c46840c30bbc7f6f7 (diff) | |
download | openttd-4c8c1e8f6a60dcba011aaf495aa3f38b15c577e5.tar.xz |
(svn r3619) - Codechange: Simplify a NullStruct initialization in the vehicle array (merge the two together to avoid confusion)
-rw-r--r-- | vehicle.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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() }; |