From 351f4a96dcd54dece2ae9e22e3188ebead660698 Mon Sep 17 00:00:00 2001 From: Bukz Date: Fri, 22 Feb 2013 19:26:11 +0000 Subject: [PATCH] need this here for some netbooks/etc. that don't have a regular return/enter key git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7250 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/console.cpp b/source/src/console.cpp index 5c63d836..ea3002d3 100644 --- a/source/src/console.cpp +++ b/source/src/console.cpp @@ -547,7 +547,7 @@ void consolekey(int code, bool isdown, int cooked) } else { - if(code==SDLK_RETURN || code==SDL_AC_BUTTON_LEFT || code==SDL_AC_BUTTON_MIDDLE) + if(code==SDLK_RETURN || code==SDLK_KP_ENTER || code==SDL_AC_BUTTON_LEFT || code==SDL_AC_BUTTON_MIDDLE) { hline *h = NULL; if(cmdline.buf[0])