mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-24 03:12:03 -05:00
Simplify assignment in RideConstruction.cpp (#10266)
This commit is contained in:
parent
0152eaa246
commit
7718d83b21
1 changed files with 1 additions and 3 deletions
|
@ -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 (;;)
|
||||
|
|
Loading…
Add table
Reference in a new issue