Fix the --cutscene=<cutscene> commandline flag (#2861)
If the menu is shown, there's this ugly purple background (the OpenGL default, I think) and the cutscene won't play.
This commit is contained in:
parent
cfc506d0cf
commit
1d8a709e38
@ -1162,6 +1162,7 @@ int handleCmdLine()
|
||||
// used only for debugging/testing
|
||||
if (CommandLine::has("--cutscene", &s))
|
||||
{
|
||||
UserConfigParams::m_no_start_screen = true; // Purple menu background otherwise
|
||||
race_manager->setTrack(s);
|
||||
StateManager::get()->enterGameState();
|
||||
race_manager->setMinorMode(RaceManager::MINOR_MODE_CUTSCENE);
|
||||
|
Loading…
Reference in New Issue
Block a user