mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 08:45:00 +01:00
Refactor map size to allow for rectangle maps
This commit is contained in:
@@ -129,7 +129,7 @@ void TitleScreen::Load()
|
||||
GetContext()->GetNetwork().Close();
|
||||
#endif
|
||||
OpenRCT2::Audio::StopAll();
|
||||
GetContext()->GetGameState()->InitAll(150);
|
||||
GetContext()->GetGameState()->InitAll({ 150, 150 });
|
||||
viewport_init_all();
|
||||
context_open_window(WC_MAIN_WINDOW);
|
||||
CreateWindows();
|
||||
@@ -335,7 +335,7 @@ bool TitleScreen::TryLoadSequence(bool loadPreview)
|
||||
_loadedTitleSequenceId = SIZE_MAX;
|
||||
if (!loadPreview)
|
||||
{
|
||||
GetContext()->GetGameState()->InitAll(150);
|
||||
GetContext()->GetGameState()->InitAll({ 150, 150 });
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user