mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 00:04:43 +01:00
Fix #3206: Round support costs properly
This commit is contained in:
committed by
Ted John
parent
142d065525
commit
5369111580
@@ -4734,7 +4734,7 @@ static money32 track_place(int rideIndex, int type, int originX, int originY, in
|
||||
support_height = 10;
|
||||
}
|
||||
|
||||
cost += (((support_height / 2) * RCT2_ADDRESS(0x0097DD7A, uint16)[ride->type * 2]) / 2) * 10;
|
||||
cost += ((support_height / 2) * RCT2_ADDRESS(0x0097DD7A, uint16)[ride->type * 2]) * 5;
|
||||
|
||||
//6c56d3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user