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
This commit is contained in:
Bukz
2013-02-22 19:26:11 +00:00
parent befc66092e
commit 351f4a96dc
+1 -1
View File
@@ -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])