]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Workaround F1/F12 binding for GAME_BLOODOMNICIDE
authorvortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 8 Feb 2010 20:33:11 +0000 (20:33 +0000)
committervortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 8 Feb 2010 20:33:11 +0000 (20:33 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9946 d7cf8633-e32d-0410-b094-e92efae38249

keys.c

diff --git a/keys.c b/keys.c
index eb57276cfb31ce49f0bde004d31d1ba12a929a25..9915313ea7c6e17e90991cfdaf49e19e7d121e00 100644 (file)
--- 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)
                {