mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-23 04:52:07 +00:00
Make sure that no key is being marked down
It's apparently not enough to clear key repeats, we'll need to clear the down states too. Without this Alt stays pressed after toggeling fullscreen trhough Alt-Enter.
This commit is contained in:
parent
02156e03ec
commit
aff37eda16
2 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,6 @@ VID_CheckChanges(void)
|
|||
S_StopAllSounds();
|
||||
|
||||
/* refresh has changed */
|
||||
vid_fullscreen->modified = true;
|
||||
cl.refresh_prepped = false;
|
||||
cl.cinematicpalette_active = false;
|
||||
cls.disable_screen = true;
|
||||
|
|
|
@ -1149,5 +1149,6 @@ Key_MarkAllUp(void)
|
|||
for (key = 0; key < K_LAST; key++)
|
||||
{
|
||||
key_repeats[key] = 0;
|
||||
keydown[key] = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue