mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Fix #1661. Track direction now remembered when deleteing last section
This commit is contained in:
@@ -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