From d2bcf096f7a3df3aaa802198a931e9bb9f127e92 Mon Sep 17 00:00:00 2001 From: Duncan Frost Date: Sun, 19 Jul 2015 15:11:24 +0100 Subject: [PATCH] Fix slope end when deleting sections. Fixes #1646 --- src/windows/ride_construction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows/ride_construction.c b/src/windows/ride_construction.c index 38e836a4a0..14d2327a5c 100644 --- a/src/windows/ride_construction.c +++ b/src/windows/ride_construction.c @@ -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;