1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

fix demolish of flat rides and unable to build it again

This commit is contained in:
IntelOrca
2015-07-06 22:53:16 +01:00
parent f859eefc4b
commit 4acb7ff5e1

View File

@@ -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;