mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 00:03:11 +01:00
Fix: Track designs of some ride types incorrectly exported to TD6
This commit is contained in:
committed by
GitHub
parent
a60f7de103
commit
7cdb8f162a
@@ -9,6 +9,7 @@
|
|||||||
- Fix: [#15878] Crash when opening a ride window for a corrupted vehicle.
|
- Fix: [#15878] Crash when opening a ride window for a corrupted vehicle.
|
||||||
- Fix: [#15908] Crash when track elements have no ride assigned.
|
- Fix: [#15908] Crash when track elements have no ride assigned.
|
||||||
- Fix: [#15919] Research status incorrectly considered for scenery when in editor modes.
|
- Fix: [#15919] Research status incorrectly considered for scenery when in editor modes.
|
||||||
|
- Fix: [#15938] Track designs of some ride types are incorrectly exported to TD6.
|
||||||
|
|
||||||
0.3.5 (2021-11-06)
|
0.3.5 (2021-11-06)
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ bool T6Exporter::SaveTrack(const utf8* path)
|
|||||||
bool T6Exporter::SaveTrack(OpenRCT2::IStream* stream)
|
bool T6Exporter::SaveTrack(OpenRCT2::IStream* stream)
|
||||||
{
|
{
|
||||||
OpenRCT2::MemoryStream tempStream;
|
OpenRCT2::MemoryStream tempStream;
|
||||||
tempStream.WriteValue<uint8_t>(_trackDesign->type);
|
tempStream.WriteValue<uint8_t>(OpenRCT2RideTypeToRCT2RideType(_trackDesign->type));
|
||||||
tempStream.WriteValue<uint8_t>(_trackDesign->vehicle_type);
|
tempStream.WriteValue<uint8_t>(_trackDesign->vehicle_type);
|
||||||
tempStream.WriteValue<uint32_t>(_trackDesign->flags);
|
tempStream.WriteValue<uint32_t>(_trackDesign->flags);
|
||||||
tempStream.WriteValue<uint8_t>(static_cast<uint8_t>(_trackDesign->ride_mode));
|
tempStream.WriteValue<uint8_t>(static_cast<uint8_t>(_trackDesign->ride_mode));
|
||||||
|
|||||||
Reference in New Issue
Block a user