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:
committed by
GitHub
parent
7a823bf928
commit
06c1fed4f7
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user