1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00

Fix: Incorrect “Same price throughout park” for RCT1 import

This commit is contained in:
Michael Steenbeek
2022-01-29 15:46:24 +01:00
committed by GitHub
parent 4c41d2269a
commit 8b7f60d10d
3 changed files with 8 additions and 2 deletions

View File

@@ -27,7 +27,7 @@
- Fix: [#15830] Objects with RCT1 images are very glitchy if OpenRCT2 is not linked to an RCT1 install.
- Fix: [#15947, #15960] Removing a flat ride results in an error message and duplicate structures.
- Fix: [#15998] Cannot set map size to the actual maximum.
- Fix: [#16007] Scenario Editor "Entry Price" appears to the right of the value field.
- Fix: [#16007] Scenario Editor Entry Price appears to the right of the value field.
- Fix: [#16008] Tile Inspector can select elements from last tile without reselecting it.
- Fix: [#16024] Go-Karts with more than 32 vehicles do not colour themselves correctly.
- Fix: [#16063] Object Selection preview for objects with glass is broken.
@@ -38,6 +38,7 @@
- Fix: [#16327] Crash on malformed network packet.
- Fix: [#16449] [Plugin] Viewport doesn't hide when switching tabs.
- Fix: [#16450] Banner style not copied when using tile inspector.
- Fix: [#16542] “Same price throughout park” status not correctly imported for RCT1 saves.
- Fix: [objects#165] Glitch when Bengal Tiger Cars go through a corner.
0.3.5.1 (2021-11-21)

View File

@@ -734,7 +734,7 @@ namespace RCT1
uint16_t map_size_unk_b;
uint16_t map_size;
uint16_t map_size_max_xy;
uint32_t same_price_flags;
uint32_t same_price_throughout;
uint16_t unk_199C94;
uint8_t unk_199C96[3];
uint8_t water_colour;

View File

@@ -2212,6 +2212,11 @@ namespace RCT1
gParkSize = _s4.park_size;
gTotalRideValueForMoney = _s4.total_ride_value_for_money;
gSamePriceThroughoutPark = 0;
if (_gameVersion == FILE_VERSION_RCT1_LL)
{
gSamePriceThroughoutPark = _s4.same_price_throughout;
}
}
void ConvertResearchEntry(::ResearchItem* dst, uint8_t srcItem, uint8_t srcType)