1
0
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:
Marijn van der Werf
2016-04-02 16:27:23 +02:00
committed by Ted John
parent 142d065525
commit 5369111580

View File

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