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:
committed by
Michael Steenbeek
parent
0152eaa246
commit
7718d83b21
@@ -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 (;;)
|
||||
|
||||
Reference in New Issue
Block a user