1
0
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:
IntelOrca
2015-01-29 18:26:42 +00:00
parent db109e1490
commit 3d9235d2bd

View File

@@ -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;
}