1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00

Fix slope end when deleting sections.

Fixes #1646
This commit is contained in:
Duncan Frost
2015-07-19 15:11:24 +01:00
parent 9e8b9b10c7
commit d2bcf096f7

View File

@@ -1741,7 +1741,7 @@ static void window_ride_construction_mouseup_demolish(rct_window* w)
z &= 0xFFF0;
_currentTrackBeginZ = z;
_rideConstructionState = RIDE_CONSTRUCTION_STATE_FRONT;
_currentTrackSlopeEnd = 0;
_currentTrackSelectionFlags = 0;
_rideConstructionArrowPulseTime = 0;
direction = _currentTrackPieceDirection;
slope = _currentTrackCurve;