From fabdd7b2dce4b99737cfb868d258cf49abcff893 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sat, 5 Apr 2008 11:56:37 +0000 Subject: fixed input problem, partly :) --- src/game/client/gc_console.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/game/client/gc_console.cpp b/src/game/client/gc_console.cpp index 91461a47..90fc8afc 100644 --- a/src/game/client/gc_console.cpp +++ b/src/game/client/gc_console.cpp @@ -466,6 +466,10 @@ bool console_input_special_binds(INPUT_EVENT e, void *user_data) bool console_input_normal_binds(INPUT_EVENT e, void *user_data) { + // need to be ingame for these binds + if(client_state() != CLIENTSTATE_ONLINE) + return false; + // don't handle invalid events and keys that arn't set to anything if(e.key <= 0 || e.key >= KEY_LAST || keybindings[e.key][0] == 0) return false; -- cgit 1.4.1