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:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user