Merge pull request #20024 from ZehMatt/fix-20018

Fix #20018: Shops not calculating up-keep cost
This commit is contained in:
Matthias Moninger authored and GitHub committed 2023-04-23 01:29:37 +03:00
commit 21a0ccbb77
3 files changed
+2 -7

No files matched your search

+1
View File
@@ -38,6 +38,7 @@
- Fix: [#19987] [Plugin] ‘SetCheatAction’ has wrong ID in plugin API.
- Fix: [#19991] Crash using cut-away view.
- Fix: [#20016] The group box for small scenery details in the Tile Inspector window has unused empty space.
- Fix: [#20018] Shops not calculating up-keep cost.
0.4.4 (2023-03-28)
------------------------------------------------------------------------
+1 -1
View File
@@ -43,7 +43,7 @@
// It is used for making sure only compatible builds get connected, even within
// single OpenRCT2 version.
#define NETWORK_STREAM_VERSION "15"
#define NETWORK_STREAM_VERSION "16"
#define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION
-6
View File
@@ -188,12 +188,6 @@ static bool RideRatingIsUpdatingRide(RideId id)
static bool ShouldSkipRatingCalculation(const Ride& ride)
{
// Skip anything that isn't a real ride.
if (ride.GetClassification() != RideClassification::Ride)
{
return true;
}
// Skip rides that are closed.
if (ride.status == RideStatus::Closed)
{