* 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:
1 parent
26641226a4
commit
5692e30fa9
9 files changed
+79
-71
No files matched your search
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user