1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Close #21837: Formatter is overwritten in RideConstruction.cpp

Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
This commit is contained in:
Harry Hopkinson
2024-04-20 14:49:36 +01:00
committed by GitHub
parent 1b5d0f47ab
commit b05dcb3dfe

View File

@@ -1515,6 +1515,10 @@ static Widget _rideConstructionWidgets[] = {
}
ft.Add<uint16_t>(brakeSpeed2);
}
else
{
ft.Increment(2);
}
widgets[WIDX_SEAT_ROTATION_ANGLE_SPINNER].text = RideConstructionSeatAngleRotationStrings
[_currentSeatRotationAngle];
@@ -1536,8 +1540,6 @@ static Widget _rideConstructionWidgets[] = {
}
// Set window title arguments
ft = Formatter::Common();
ft.Increment(4);
currentRide->FormatNameTo(ft);
}