Fixed pause blur in main menu

master
krzys-h 2016-06-19 22:18:03 +02:00
parent bd4362e26c
commit 8ad53ce327
1 changed files with 2 additions and 0 deletions

View File

@ -1554,6 +1554,8 @@ char* CRobotMain::GetDisplayInfoName(int index)
//! Beginning of a dialogue during the game
void CRobotMain::StartSuspend()
{
if (!IsPhaseWithWorld(m_phase)) return;
m_sound->MuteAll(true);
ClearInterface();
m_suspend = m_pause->ActivatePause(PAUSE_ENGINE|PAUSE_HIDE_SHORTCUTS|PAUSE_MUTE_SOUND|PAUSE_CAMERA);