We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b2a7fa commit e9a54c6Copy full SHA for e9a54c6
src/xrGame/GamePersistent.cpp
@@ -485,16 +485,25 @@ bool allow_intro()
485
#else // #ifdef MASTER_GOLD
486
if ((0 != strstr(Core.Params, "-nointro")) || g_SASH.IsRunning())
487
#endif // #ifdef MASTER_GOLD
488
+#else
489
+ if (0 != strstr(Core.Params, "-nointro"))
490
+#endif
491
{
492
return false;
493
}
494
else
-#endif
495
return true;
496
497
498
void CGamePersistent::start_logo_intro()
499
500
+ if(!allow_intro()) // TODO this is dirty hack, rewrite!
501
+ {
502
+ m_intro_event = 0;
503
+ Console->Execute("main_menu on");
504
+ return;
505
+ }
506
+
507
if (Device.dwPrecacheFrame == 0)
508
509
m_intro_event.bind(this, &CGamePersistent::update_logo_intro);
0 commit comments