about summary refs log tree commit diff
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2010-09-08 02:32:41 +0200
committeroy <Tom_Adams@web.de>2010-09-08 02:32:41 +0200
commite31b125a0de8b359921807d3b5590e8e20fcfc8e (patch)
treefa7e2b62cec1d1f685235333d8412a7600071367
parentd4b145a8ee201d25e5259aba29b65b84bb444b3a (diff)
downloadzcatch-e31b125a0de8b359921807d3b5590e8e20fcfc8e.tar.gz
zcatch-e31b125a0de8b359921807d3b5590e8e20fcfc8e.zip
use the numpad enter key as well. Closes #166
-rw-r--r--src/game/client/components/menus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp
index 78b6b0fc..b1e3e3d0 100644
--- a/src/game/client/components/menus.cpp
+++ b/src/game/client/components/menus.cpp
@@ -1063,7 +1063,7 @@ bool CMenus::OnInput(IInput::CEvent e)
 		if(e.m_Flags&IInput::FLAG_PRESS)
 		{
 			// special for popups
-			if(e.m_Key == KEY_RETURN)
+			if(e.m_Key == KEY_RETURN || e.m_Key == KEY_KP_ENTER)
 				m_EnterPressed = true;
 			else if(e.m_Key == KEY_DELETE)
 				m_DeletePressed = true;