1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 14:02:59 +01:00

Refactor gScreenFlags to LegacyScene enum

This commit is contained in:
Michael Steenbeek
2025-03-05 21:45:04 +01:00
committed by GitHub
parent 7a823bf928
commit 06c1fed4f7
91 changed files with 331 additions and 315 deletions

View File

@@ -1198,7 +1198,7 @@ static void ConsoleCommandOpen(InteractiveConsole& console, const arguments_t& a
{
if (!argv.empty())
{
bool title = (gScreenFlags & SCREEN_FLAGS_TITLE_DEMO) != 0;
bool title = gLegacyScene == LegacyScene::titleSequence;
bool invalidTitle = false;
if (argv[0] == "object_selection" && InvalidArguments(&invalidTitle, !title))
{