1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00

Move variables not saved in the track design to their own struct

This commit is contained in:
Gymnasiast
2024-07-03 22:18:48 +02:00
parent 56accb3790
commit e47f526067
8 changed files with 60 additions and 46 deletions

View File

@@ -289,7 +289,7 @@ static Widget _trackPlaceWidgets[] = {
void OnDraw(DrawPixelInfo& dpi) override
{
auto ft = Formatter::Common();
ft.Add<char*>(_trackDesign->name.c_str());
ft.Add<char*>(_trackDesign->gameStateData.name.c_str());
WindowDrawWidgets(*this, dpi);
// Draw mini tile preview