* Fix bug that prevented key up events getting to cgame/ui when not in game
* Use Key_[GS]etCatcher everywhere to set keycatcher * Clear all key states when the catcher changes
This commit is contained in:
@@ -270,7 +270,6 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
connstate_t state; // connection status
|
||||
int keyCatchers; // bit flags
|
||||
|
||||
qboolean cddialog; // bring up the cd needed dialog next frame
|
||||
|
||||
@@ -442,6 +441,8 @@ void CL_VerifyCode( void );
|
||||
|
||||
float CL_KeyState (kbutton_t *key);
|
||||
char *Key_KeynumToString (int keynum);
|
||||
int Key_GetCatcher( void );
|
||||
void Key_SetCatcher( int catcher );
|
||||
|
||||
//
|
||||
// cl_parse.c
|
||||
|
Reference in New Issue
Block a user