From: vortex Date: Mon, 8 Feb 2010 20:33:11 +0000 (+0000) Subject: Workaround F1/F12 binding for GAME_BLOODOMNICIDE X-Git-Tag: xonotic-v0.1.0preview~230^2~523 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5752be34c5c218ef25477384c4cc85c9343fbc1b;p=xonotic%2Fdarkplaces.git Workaround F1/F12 binding for GAME_BLOODOMNICIDE git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9946 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/keys.c b/keys.c index eb57276c..9915313e 100644 --- a/keys.c +++ b/keys.c @@ -1523,8 +1523,9 @@ Key_Event (int key, int ascii, qboolean down) } // send function keydowns to interpreter no matter what mode is (unless the menu has specifically grabbed the keyboard, for rebinding keys) + // VorteX: Omnicide does bind F* keys if (keydest != key_menu_grabbed) - if (key >= K_F1 && key <= K_F12) + if (key >= K_F1 && key <= K_F12 && gamemode != GAME_BLOODOMNICIDE) { if (bind) {