1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 19:43:06 +01:00

Fix #11746: Cannot set ride or shop prices in some circumstances (#17765)

This commit is contained in:
Michael Steenbeek
2022-08-09 20:06:21 +02:00
committed by GitHub
parent 9e1b24d977
commit 39722307d2
2 changed files with 2 additions and 2 deletions

View File

@@ -99,7 +99,7 @@ GameActions::Result RideSetPriceAction::Execute() const
shopItem = ShopItem::Admission;
const auto& rtd = ride->GetRideTypeDescriptor();
if (rtd.HasFlag(RIDE_TYPE_FLAG_IS_TOILET))
if (!rtd.HasFlag(RIDE_TYPE_FLAG_IS_TOILET))
{
shopItem = rideEntry->shop_item[0];
if (shopItem == ShopItem::None)

View File

@@ -42,7 +42,7 @@
// This string specifies which version of network stream current build uses.
// It is used for making sure only compatible builds get connected, even within
// single OpenRCT2 version.
#define NETWORK_STREAM_VERSION "3"
#define NETWORK_STREAM_VERSION "4"
#define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION
static Peep* _pickup_peep = nullptr;