mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
Fix secondary prices being imported incorrectly from SV4 (#10543)
An oversight that has been present since the very first version of the SV4 import code.
This commit is contained in:
committed by
GitHub
parent
20223eb5fb
commit
5e5752d49d
@@ -11,6 +11,7 @@
|
||||
- Fix: [#10420] Money effect causing false positive desync.
|
||||
- Fix: [#10477] Large Scenery cannot be placed higher using SHIFT.
|
||||
- Fix: [#10489] Hosts last player action not being synchronized.
|
||||
- Fix: [#10543] Secondary shop item prices are not imported correctly from RCT1 saves.
|
||||
|
||||
0.2.4 (2019-10-28)
|
||||
------------------------------------------------------------------------
|
||||
|
||||
@@ -187,7 +187,7 @@ struct rct1_ride
|
||||
uint8_t broken_vehicle; // 0x141
|
||||
uint8_t broken_car; // 0x142
|
||||
uint8_t breakdown_reason; // 0x143
|
||||
uint8_t unk_144[2]; // 0x144
|
||||
money16 price_secondary; // 0x144
|
||||
union
|
||||
{
|
||||
struct
|
||||
|
||||
@@ -984,6 +984,7 @@ private:
|
||||
// Finance / customers
|
||||
dst->upkeep_cost = src->upkeep_cost;
|
||||
dst->price = src->price;
|
||||
dst->price_secondary = src->price_secondary;
|
||||
dst->income_per_hour = src->income_per_hour;
|
||||
dst->total_customers = src->total_customers;
|
||||
dst->profit = src->profit;
|
||||
|
||||
Reference in New Issue
Block a user