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 (;;)