Fix slope end when deleting sections.

Fixes #1646
This commit is contained in:
Duncan Frost committed 2015-07-19 15:11:24 +01:00
1 parent 9e8b9b10c7
commit d2bcf096f7
1 file changed
+1 -1
+1 -1
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;