1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

Merge pull request #776 from briaguya/develop

fixed ride profit calculation
This commit is contained in:
Ted John
2015-02-11 01:56:19 +00:00

View File

@@ -1077,7 +1077,7 @@ static void ride_update(int rideIndex)
ride->var_14D |= 2;
if (ride->upkeep_cost != (money16)0xFFFF)
ride->profit = (money16)(ride->income_per_hour - ((money32)ride->upkeep_cost * 16));
ride->profit = (ride->income_per_hour - ((money32)ride->upkeep_cost * 16));
}
// Ride specific updates