@@ -129,8 +129,8 @@ public void LoadObject()
129
129
Animation = new ( veh . Animation ) ,
130
130
AnimationHeaders = new ( veh . AnimationHeaders ) ,
131
131
var_113 = veh . var_113 ,
132
- DesignedYear = veh . Designed ,
133
- ObsoleteYear = veh . Obsolete ,
132
+ DesignedYear = veh . ObsoleteYear ,
133
+ ObsoleteYear = veh . ObsoleteYear ,
134
134
RackRailType = veh . RackRailType ,
135
135
SoundType = veh . SoundType ,
136
136
StartSounds = new ( veh . StartSounds ) ,
@@ -192,6 +192,29 @@ public void SaveCurrentObject()
192
192
193
193
CurrentObject . LocoObject . Object = veh with
194
194
{
195
+ Mode = VehicleVM . Mode ,
196
+ Type = VehicleVM . Type ,
197
+ var_04 = VehicleVM . var_04 ,
198
+ TrackTypeId = VehicleVM . TrackTypeId ,
199
+ CostIndex = VehicleVM . CostIndex ,
200
+ CostFactor = VehicleVM . CostFactor ,
201
+ Reliability = VehicleVM . Reliability ,
202
+ RunCostIndex = VehicleVM . RunCostIndex ,
203
+ RunCostFactor = VehicleVM . RunCostFactor ,
204
+ ColourType = VehicleVM . ColourType ,
205
+ Power = VehicleVM . Power ,
206
+ Speed = VehicleVM . Speed ,
207
+ RackSpeed = VehicleVM . RackSpeed ,
208
+ Weight = VehicleVM . Weight ,
209
+ Flags = VehicleVM . Flags ,
210
+ var_113 = VehicleVM . var_113 ,
211
+ DesignedYear = VehicleVM . DesignedYear ,
212
+ ObsoleteYear = VehicleVM . ObsoleteYear ,
213
+ RackRailType = VehicleVM . RackRailType ,
214
+ SoundType = VehicleVM . SoundType ,
215
+ SoundPropertyFriction = VehicleVM . FrictionSound ,
216
+ SoundPropertyEngine1 = VehicleVM . Engine1Sound ,
217
+ SoundPropertyEngine2 = VehicleVM . Engine2Sound ,
195
218
NumCompatibleVehicles = ( byte ) VehicleVM . CompatibleVehicles . Count ,
196
219
NumRequiredTrackExtras = ( byte ) VehicleVM . RequiredTrackExtras . Count ,
197
220
NumStartSounds = ( byte ) VehicleVM . StartSounds . Count ,
0 commit comments