]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - keys.c
Rename COM_CheckParm to Sys_CheckParm and move it to sys_shared.c
[xonotic/darkplaces.git] / keys.c
diff --git a/keys.c b/keys.c
index 5a67502ffe147595386a07cba05ff18563b3a804..cceec5199b6f60c3a2b6a85fc13687a6a6a0c2cd 100644 (file)
--- a/keys.c
+++ b/keys.c
@@ -1996,7 +1996,7 @@ Key_Event (int key, int ascii, qboolean down)
                        return;
                }
 
-               if (COM_CheckParm ("-noconsole"))
+               if (Sys_CheckParm ("-noconsole"))
                        return; // only allow the key bind to turn off console
 
                Key_Console (cmd, key, ascii);