forked from rosebudai/OpenRCT2-Web
Fix #1661. Track direction now remembered when deleteing last section
This commit is contained in:
1 parent
9017e5ff86
commit
36917bd75a
1 file changed
+1
-1
@@ -1771,7 +1771,7 @@ static void window_ride_construction_mouseup_demolish(rct_window* w)
|
||||
sub_6C84CE();
|
||||
if (!sub_6CAF80(_currentRideIndex, &outputElement)) {
|
||||
sub_6CC3FB(_currentRideIndex);
|
||||
_currentTrackPieceDirection = _currentTrackPieceDirection;
|
||||
_currentTrackPieceDirection = direction;
|
||||
if (!(slope & 0x100)) {
|
||||
_currentTrackCurve = slope;
|
||||
_previousTrackSlopeEnd = slopeEnd;
|
||||
|
||||
Reference in new issue
Block a user