diff --git a/src/windows/ride_construction.c b/src/windows/ride_construction.c index 292c96bfe0..84daa1f183 100644 --- a/src/windows/ride_construction.c +++ b/src/windows/ride_construction.c @@ -1767,7 +1767,7 @@ static void window_ride_construction_mouseup_demolish(rct_window* w) if (!sub_6CAF80(_currentRideIndex, &outputElement)) { sub_6CC3FB(_currentRideIndex); _currentTrackPieceDirection = _currentTrackPieceDirection; - if (slope & 0x100) { + if (!(slope & 0x100)) { _currentTrackCurve = slope; _previousTrackSlopeEnd = slopeEnd; _currentTrackSlopeEnd = b2;