Fix merge error (#21257)

This commit is contained in:
Michael Steenbeek authored and GitHub committed 2024-01-24 12:00:41 +01:00
1 parent 42336915cd
commit b200ce02ef
1 file changed
-2
-2
View File
@@ -1514,7 +1514,6 @@ bool Guest::DecideAndBuyItem(Ride& ride, const ShopItem shopItem, money64 price)
}
auto& gameState = GetGameState();
if ((shopItem == ShopItem::Sunglasses || shopItem == ShopItem::IceCream) && gameState.ClimateCurrent.Temperature < 12)
{
return false;
@@ -1695,7 +1694,6 @@ bool Guest::DecideAndBuyItem(Ride& ride, const ShopItem shopItem, money64 price)
expenditure = ExpenditureType::FoodDrinkStock;
}
auto& gameState = GetGameState();
if (!(gameState.ParkFlags & PARK_FLAGS_NO_MONEY))
FinancePayment(shopItemDescriptor.Cost, expenditure);