From db694af3ed9fc66dc435f82689e3be94979a4076 Mon Sep 17 00:00:00 2001 From: vortex Date: Mon, 8 Feb 2010 20:33:11 +0000 Subject: [PATCH] Workaround F1/F12 binding for GAME_BLOODOMNICIDE git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9946 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=5752be34c5c218ef25477384c4cc85c9343fbc1b --- keys.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.39.2