[colobot] 120/145: Fixed pause blur in main menu

Didier Raboud odyx at moszumanska.debian.org
Mon Jul 11 12:56:24 UTC 2016


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository colobot.

commit 8ad53ce3278498dbdf38e4437a83536e240a1408
Author: krzys-h <krzys_h at interia.pl>
Date:   Sun Jun 19 22:18:03 2016 +0200

    Fixed pause blur in main menu
---
 src/level/robotmain.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/level/robotmain.cpp b/src/level/robotmain.cpp
index d0f29ef..86d1d16 100644
--- a/src/level/robotmain.cpp
+++ b/src/level/robotmain.cpp
@@ -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);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git



More information about the Pkg-games-commits mailing list