| 1847 | } |
| 1848 | |
| 1849 | static int32_t TrackDesignGetZPlacement(TrackDesignState& tds, const TrackDesign& td, Ride& ride, const CoordsXYZD& coords) |
| 1850 | { |
| 1851 | TrackDesignPlaceVirtual(tds, td, TrackPlaceOperation::getPlaceZ, true, ride, coords); |
| 1852 | |
| 1853 | // Change from vanilla: originally, _trackDesignPlaceSceneryZ was not subtracted |
| 1854 | // from _trackDesignPlaceZ, causing bug #259. |
| 1855 | return tds.placeZ - tds.placeSceneryZ; |
| 1856 | } |
| 1857 | |
| 1858 | int32_t TrackDesignGetZPlacement(const TrackDesign& td, Ride& ride, const CoordsXYZD& coords) |
| 1859 | { |
no test coverage detected