This is an automated email from the git hooks/post-receive script. odyx pushed a commit to branch debian/master in repository colobot.
commit d06516507af44e88d7ca3fc6dc4d87ffd375bf0a Author: krzys-h <krzy...@interia.pl> Date: Sat Feb 13 20:40:23 2016 +0100 Fixed game not being unpaused if you leave code battle without starting, closes #679 --- src/level/robotmain.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/level/robotmain.cpp b/src/level/robotmain.cpp index 4ff7870..1f514ca 100644 --- a/src/level/robotmain.cpp +++ b/src/level/robotmain.cpp @@ -401,6 +401,12 @@ void CRobotMain::ChangePhase(Phase phase) { m_playerProfile->IncrementLevelTryCount(m_levelCategory, m_levelChap, m_levelRank); } + + if (m_userPause != nullptr) + { + m_pause->DeactivatePause(m_userPause); + m_userPause = nullptr; + } } if (phase == PHASE_WIN) // wins a simulation? -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git _______________________________________________ Pkg-games-commits mailing list Pkg-games-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits