mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
fix income calculation, fixes #727
This commit is contained in:
@@ -247,6 +247,7 @@ money32 ride_calculate_income_per_hour(rct_ride *ride)
|
||||
|
||||
shopItem = entry->shop_item_secondary;
|
||||
if (shopItem != 255) {
|
||||
priceMinusCost += ride->price_secondary;
|
||||
priceMinusCost -= get_shop_item_cost(shopItem);
|
||||
priceMinusCost /= 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user