mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 19:13:07 +01:00
Fix #17009: “No money” flag in SV6 saves not imported correctly
This commit is contained in:
@@ -256,10 +256,13 @@ namespace RCT2
|
||||
gParkFlags = _s6.park_flags & ~PARK_FLAGS_NO_MONEY_SCENARIO;
|
||||
|
||||
// RCT2 used a different flag for `no money` when the park is a scenario
|
||||
if (_s6.header.type == S6_TYPE_SCENARIO && (_s6.park_flags & PARK_FLAGS_NO_MONEY_SCENARIO))
|
||||
gParkFlags |= PARK_FLAGS_NO_MONEY;
|
||||
else
|
||||
gParkFlags &= ~PARK_FLAGS_NO_MONEY;
|
||||
if (_s6.header.type == S6_TYPE_SCENARIO)
|
||||
{
|
||||
if (_s6.park_flags & PARK_FLAGS_NO_MONEY_SCENARIO)
|
||||
gParkFlags |= PARK_FLAGS_NO_MONEY;
|
||||
else
|
||||
gParkFlags &= ~PARK_FLAGS_NO_MONEY;
|
||||
}
|
||||
|
||||
gParkEntranceFee = _s6.park_entrance_fee;
|
||||
// rct1_park_entrance_x
|
||||
|
||||
Reference in New Issue
Block a user