forked from OpenRCT2/OpenRCT2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix OpenRCT2#11752: Track pieces with fractional cost are too cheap t…
…o build Fixes an inconsistency wuth RCT2 where track prices with a fractional part did not have their price rounded up when building, but did when refunding. This created an exploit where refunding such a track piece granted the player 0.50€ more than they spent on the piece.
- Loading branch information
1 parent
d97ecdd
commit f7f45d4
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters