mirror of https://github.com/OpenRCT2/OpenRCT2.git
Close #21837: Formatter is overwritten in RideConstruction.cpp
Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
This commit is contained in:
parent
1b5d0f47ab
commit
b05dcb3dfe
|
@ -1515,6 +1515,10 @@ static Widget _rideConstructionWidgets[] = {
|
||||||
}
|
}
|
||||||
ft.Add<uint16_t>(brakeSpeed2);
|
ft.Add<uint16_t>(brakeSpeed2);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ft.Increment(2);
|
||||||
|
}
|
||||||
|
|
||||||
widgets[WIDX_SEAT_ROTATION_ANGLE_SPINNER].text = RideConstructionSeatAngleRotationStrings
|
widgets[WIDX_SEAT_ROTATION_ANGLE_SPINNER].text = RideConstructionSeatAngleRotationStrings
|
||||||
[_currentSeatRotationAngle];
|
[_currentSeatRotationAngle];
|
||||||
|
@ -1536,8 +1540,6 @@ static Widget _rideConstructionWidgets[] = {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set window title arguments
|
// Set window title arguments
|
||||||
ft = Formatter::Common();
|
|
||||||
ft.Increment(4);
|
|
||||||
currentRide->FormatNameTo(ft);
|
currentRide->FormatNameTo(ft);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue