don't let scoreboard interfere with gameplay keys
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2852 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -605,15 +605,18 @@ bool menukey(int code, bool isdown, int unicode, SDLMod mod)
|
||||
break;
|
||||
case SDLK_ESCAPE:
|
||||
case -3:
|
||||
if(!curmenu->allowinput) return false;
|
||||
menuset(menustack.empty() ? NULL : menustack.pop(), false);
|
||||
return true;
|
||||
break;
|
||||
case SDLK_UP:
|
||||
case -4:
|
||||
if(!curmenu->allowinput) return false;
|
||||
menusel--;
|
||||
break;
|
||||
case SDLK_DOWN:
|
||||
case -5:
|
||||
if(!curmenu->allowinput) return false;
|
||||
menusel++;
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user