mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 22:34:33 +01:00
Merge pull request #21532 from jan-kelemen/move_ride_rating_and_same_price_to_game_state
Move gSamePriceThroughoutPark and gRideRatingUpdateStates to GameState_t
This commit is contained in:
@@ -552,7 +552,7 @@ namespace OpenRCT2
|
||||
cs.ReadWrite(gGrassSceneryTileLoopPosition);
|
||||
cs.ReadWrite(gWidePathTileLoopPosition);
|
||||
|
||||
auto& rideRatings = RideRatingGetUpdateStates();
|
||||
auto& rideRatings = gameState.RideRatingUpdateStates;
|
||||
if (os.GetHeader().TargetVersion >= 21)
|
||||
{
|
||||
cs.ReadWriteArray(rideRatings, [this, &cs](RideRatingUpdateState& calcData) {
|
||||
@@ -821,7 +821,7 @@ namespace OpenRCT2
|
||||
cs.ReadWrite(gameState.StaffHandymanColour);
|
||||
cs.ReadWrite(gameState.StaffMechanicColour);
|
||||
cs.ReadWrite(gameState.StaffSecurityColour);
|
||||
cs.ReadWrite(gSamePriceThroughoutPark);
|
||||
cs.ReadWrite(gameState.SamePriceThroughoutPark);
|
||||
|
||||
// Finances
|
||||
if (cs.GetMode() == OrcaStream::Mode::READING)
|
||||
|
||||
Reference in New Issue
Block a user