[colobot] 279/377: Fixed possible crash with background pause
Didier Raboud
odyx at moszumanska.debian.org
Wed Mar 30 13:34:27 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 831eca921bbef6b9d25ef512b13e7a6e0018d2f5
Author: krzys-h <krzys_h at interia.pl>
Date: Mon Feb 15 19:05:32 2016 +0100
Fixed possible crash with background pause
---
src/level/robotmain.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/level/robotmain.cpp b/src/level/robotmain.cpp
index c7d3b1a..7176d7c 100644
--- a/src/level/robotmain.cpp
+++ b/src/level/robotmain.cpp
@@ -711,6 +711,7 @@ bool CRobotMain::ProcessEvent(Event &event)
if (m_focusPause != nullptr)
{
m_pause->DeactivatePause(m_focusPause);
+ m_focusPause = nullptr;
}
return false;
}
--
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