in_sdl: SDL1: don't send '`' or '~' to the console.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1023 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
svdijk 2014-09-12 21:01:28 +00:00
parent 718ebfb9ff
commit efb1a35e3e

View file

@ -788,7 +788,7 @@ void IN_SendKeyEvents (void)
break;
}
Key_Event (sym, state);
if (event.type == SDL_KEYDOWN)
if (event.type == SDL_KEYDOWN && sym != '`' && sym != '~')
Char_Event (sym);
break;
#endif