about summary refs log tree commit diff
path: root/src/game/client/components/console.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-10-23 16:18:33 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-10-23 16:18:33 +0000
commitbd5b2b9f85522203609df18292df510dbb674246 (patch)
treec7c0d3652718526bcaaf7c7e32ff6e1f03a4b156 /src/game/client/components/console.cpp
parent6d86d949fdfec590e9bed0ff126271ebab81796a (diff)
downloadzcatch-bd5b2b9f85522203609df18292df510dbb674246.tar.gz
zcatch-bd5b2b9f85522203609df18292df510dbb674246.zip
removed glfw and portaudio. SDL is now a requirement
Diffstat (limited to 'src/game/client/components/console.cpp')
-rw-r--r--src/game/client/components/console.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/client/components/console.cpp b/src/game/client/components/console.cpp
index ab0c9aae..9efebd92 100644
--- a/src/game/client/components/console.cpp
+++ b/src/game/client/components/console.cpp
@@ -61,7 +61,7 @@ void CONSOLE::INSTANCE::on_input(INPUT_EVENT e)
 	
 	if(e.flags&INPFLAG_PRESS)
 	{
-		if(e.key == KEY_ENTER || e.key == KEY_KP_ENTER)
+		if(e.key == KEY_RETURN || e.key == KEY_KP_ENTER)
 		{
 			if(input.get_string()[0])
 			{
@@ -298,7 +298,7 @@ bool CONSOLE::on_input(INPUT_EVENT e)
 	if(e.key >= KEY_F1 && e.key <= KEY_F15)
 		return false;
 
-	if(e.key == KEY_ESC && (e.flags&INPFLAG_PRESS))
+	if(e.key == KEY_ESCAPE && (e.flags&INPFLAG_PRESS))
 		toggle(console_type);
 	else
 		current_console()->on_input(e);