[colobot] 176/390: Activate console by "~", closes #366

Didier Raboud odyx at moszumanska.debian.org
Fri Jun 12 14:21:42 UTC 2015


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

odyx pushed a commit to branch upstream/latest
in repository colobot.

commit 894d4173f6334a74cea8b52b0215d5a97a887893
Author: krzys-h <krzys_h at interia.pl>
Date:   Sun Nov 9 18:58:13 2014 +0100

    Activate console by "~", closes #366
---
 src/object/robotmain.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/object/robotmain.cpp b/src/object/robotmain.cpp
index 2c9384c..76319e2 100644
--- a/src/object/robotmain.cpp
+++ b/src/object/robotmain.cpp
@@ -1436,7 +1436,7 @@ bool CRobotMain::ProcessEvent(Event &event)
         !m_movie->IsExist()   &&
         !m_movieLock && !m_editLock && !m_engine->GetPause() &&
         event.type == EVENT_KEY_DOWN &&
-        event.key.key == KEY(PAUSE))  // Pause ?
+        event.key.key == KEY(BACKQUOTE))  // Pause ?
     {
         Ui::CEdit* pe = static_cast<Ui::CEdit*>(m_interface->SearchControl(EVENT_CMD));
         if (pe == 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