mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 01:04:50 +01:00
Guard title sequence in headless mode
This commit is contained in:
@@ -455,6 +455,10 @@ private:
|
||||
void PrepareParkForPlayback()
|
||||
{
|
||||
rct_window * w = window_get_main();
|
||||
if (w == nullptr)
|
||||
{
|
||||
return;
|
||||
}
|
||||
w->viewport_target_sprite = SPRITE_INDEX_NULL;
|
||||
w->saved_view_x = gSavedViewX;
|
||||
w->saved_view_y = gSavedViewY;
|
||||
|
||||
Reference in New Issue
Block a user