Fixed version being displayed during intro

master
krzys-h 2015-08-07 15:26:37 +02:00
parent d58d015edd
commit 6d363ba887
1 changed files with 4 additions and 1 deletions

View File

@ -203,7 +203,10 @@ void CMainUserInterface::ChangePhase(Phase phase)
} }
} }
if ( IsMainMenuPhase(m_phase) ) if ( IsMainMenuPhase(m_phase) &&
m_phase != PHASE_WELCOME1 &&
m_phase != PHASE_WELCOME2 &&
m_phase != PHASE_WELCOME3 )
{ {
CWindow* pw = static_cast<CWindow*>(m_interface->SearchControl(EVENT_WINDOW5)); CWindow* pw = static_cast<CWindow*>(m_interface->SearchControl(EVENT_WINDOW5));
if (pw != nullptr) if (pw != nullptr)