fix ride profit calculation, fixes #603

This commit is contained in:
IntelOrca 2014-11-29 13:33:39 +00:00
parent 35145f897b
commit 1266f19a5c
1 changed files with 1 additions and 1 deletions

View File

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