Skip to content

Commit

Permalink
xrGame: fix game intro
Browse files Browse the repository at this point in the history
  • Loading branch information
vamit611 committed Feb 6, 2019
1 parent 2ea57b5 commit 04cc24b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/xrGame/ui/UIGameTutorial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ bool CUISequenceItem::Stop(bool bForce)
CUISequencer::CUISequencer() { m_flags.zero(); }
void CUISequencer::Start(LPCSTR tutor_name)
{
// Skip any tutorial except "game_loaded", since we need to show "st_press_any_key" hint
if (load_screen_renderer.IsActive() && xr_strcmp(tutor_name, "game_loaded") != 0)
// Skip any tutorial except "game_loaded" and "intro_game", on load screen
if (load_screen_renderer.IsActive() && xr_strcmp(tutor_name, "game_loaded") != 0 &&
xr_strcmp(tutor_name, "intro_game") != 0)
return;

VERIFY(m_sequencer_items.size() == 0);
Expand Down

0 comments on commit 04cc24b

Please sign in to comment.