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:
Lee Salzman
2008-10-06 22:01:28 +00:00
parent c05f92fa8c
commit 2d59828335
+3
View File
@@ -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;