1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

Fix #17815,#17818: Special... dropdown and brake settings glitches

This commit is contained in:
Michael Steenbeek
2022-08-14 22:37:32 +02:00
committed by GitHub
parent f030b26454
commit 354df90ab1
3 changed files with 4 additions and 1 deletions

View File

@@ -282,7 +282,7 @@ STR_0892 :Screenshot saved to disk as {STRINGID}
STR_0893 :Screenshot failed!
STR_0894 :Landscape data area full!
STR_0895 :Cant build partly above and partly below ground
STR_0896 :{STRINGID} Construction
STR_0896 :{POP16}{POP16}{STRINGID} Construction
STR_0897 :Direction
STR_0898 :Left-hand curve
STR_0899 :Right-hand curve

View File

@@ -282,10 +282,12 @@ public:
auto ft = Formatter::Common();
if (currentRide != nullptr)
{
ft.Increment(4);
currentRide->FormatNameTo(ft);
}
else
{
ft.Increment(4);
ft.Add<StringId>(STR_NONE);
}
}

View File

@@ -1482,6 +1482,7 @@ public:
// Set window title arguments
ft = Formatter::Common();
ft.Increment(4);
currentRide->FormatNameTo(ft);
}