forked from rosebudai/OpenRCT2-Web
Fix: Track designs of some ride types incorrectly exported to TD6
This commit is contained in:
1 parent
a60f7de103
commit
7cdb8f162a
2 files changed
+2
-1
No files matched your search
@@ -9,6 +9,7 @@
|
||||
- Fix: [#15878] Crash when opening a ride window for a corrupted vehicle.
|
||||
- Fix: [#15908] Crash when track elements have no ride assigned.
|
||||
- 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)
|
||||
------------------------------------------------------------------------
|
||||
|
||||
@@ -48,7 +48,7 @@ bool T6Exporter::SaveTrack(const utf8* path)
|
||||
bool T6Exporter::SaveTrack(OpenRCT2::IStream* stream)
|
||||
{
|
||||
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<uint32_t>(_trackDesign->flags);
|
||||
tempStream.WriteValue<uint8_t>(static_cast<uint8_t>(_trackDesign->ride_mode));
|
||||
|
||||
Reference in new issue
Block a user