Fix 26a123b7: Wrong variable size in VENC chunk saver

This commit is contained in:
Jonathan G Rennison 2021-04-14 19:36:10 +01:00
parent 1ef236525a
commit 7faa279250

View File

@ -1216,7 +1216,7 @@ void Save_VENC()
write_gv_cache(t->gcache); write_gv_cache(t->gcache);
SlWriteByte(t->tcache.cached_tilt); SlWriteByte(t->tcache.cached_tilt);
SlWriteByte(t->tcache.cached_num_engines); SlWriteByte(t->tcache.cached_num_engines);
SlWriteByte(t->tcache.cached_centre_mass); SlWriteUint16(t->tcache.cached_centre_mass);
SlWriteUint16(t->tcache.cached_veh_weight); SlWriteUint16(t->tcache.cached_veh_weight);
SlWriteUint16(t->tcache.cached_uncapped_decel); SlWriteUint16(t->tcache.cached_uncapped_decel);
SlWriteByte(t->tcache.cached_deceleration); SlWriteByte(t->tcache.cached_deceleration);