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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user