1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00

Simplify assignment in RideConstruction.cpp (#10266)

This commit is contained in:
Tulio Leao
2019-11-19 12:01:23 -03:00
committed by Michael Steenbeek
parent 0152eaa246
commit 7718d83b21

View File

@@ -3564,9 +3564,7 @@ void ride_construction_toolupdate_construct(ScreenCoordsXY screenCoords)
return;
}
_previousTrackPiece.x = mapCoords->x;
_previousTrackPiece.y = mapCoords->y;
_previousTrackPiece.z = z;
_previousTrackPiece = _currentTrackBegin;
if (ride->type == RIDE_TYPE_MAZE)
{
for (;;)