mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-03-24 17:01:57 +00:00
#include <config.h> --> #include "config.h";
ClearAllStates() fix.
This commit is contained in:
parent
04e41775cd
commit
34365188bc
1 changed files with 3 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
|||
// vid_win.c -- Win32 video driver
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
# include "config.h"
|
||||
#endif
|
||||
#include "quakedef.h"
|
||||
#include "winquake.h"
|
||||
|
@ -282,7 +282,8 @@ void ClearAllStates (void)
|
|||
// send an up event for each key, to make sure the server clears them all
|
||||
for (i=0 ; i<256 ; i++)
|
||||
{
|
||||
Key_Event (i, false);
|
||||
if (keydown[i])
|
||||
Key_Event (i, false);
|
||||
}
|
||||
|
||||
Key_ClearStates ();
|
||||
|
|
Loading…
Reference in a new issue