mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 07:11:41 +00:00
Eliminate key_none.
It is no longer needed as it was a hack to get key repeat control working properly.
This commit is contained in:
parent
2a3986368e
commit
5d8aab744f
2 changed files with 0 additions and 5 deletions
|
@ -438,13 +438,11 @@ typedef enum {
|
||||||
IMT_LAST,
|
IMT_LAST,
|
||||||
} imt_t; // Input Mapping Table
|
} imt_t; // Input Mapping Table
|
||||||
|
|
||||||
// key_none should, preferably, be last
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
key_game,
|
key_game,
|
||||||
key_console,
|
key_console,
|
||||||
key_message,
|
key_message,
|
||||||
key_menu,
|
key_menu,
|
||||||
key_none
|
|
||||||
} keydest_t;
|
} keydest_t;
|
||||||
|
|
||||||
#ifndef __QFCC__
|
#ifndef __QFCC__
|
||||||
|
|
|
@ -251,9 +251,6 @@ cl_chat_keydest (keydest_t keydest)
|
||||||
case key_menu:
|
case key_menu:
|
||||||
CL_ChatInfo (2); // supposed to be for loss of focus...
|
CL_ChatInfo (2); // supposed to be for loss of focus...
|
||||||
break;
|
break;
|
||||||
case key_none: // shouldn't happen
|
|
||||||
CL_ChatInfo (3);
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue