* 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:
Tim Angus committed 2007-10-02 14:14:45 +00:00
1 parent 26641226a4
commit 5692e30fa9
9 files changed
+79 -71

No files matched your search

+1 -1
View File
@@ -490,7 +490,7 @@ void SCR_DrawScreenField( stereoFrame_t stereoFrame ) {
}
// the menu draws next
if ( cls.keyCatchers & KEYCATCH_UI && uivm ) {
if ( Key_GetCatcher( ) & KEYCATCH_UI && uivm ) {
VM_Call( uivm, UI_REFRESH, cls.realtime );
}