mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-31 17:21:46 +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
|
// vid_win.c -- Win32 video driver
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
#include "quakedef.h"
|
#include "quakedef.h"
|
||||||
#include "winquake.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
|
// send an up event for each key, to make sure the server clears them all
|
||||||
for (i=0 ; i<256 ; i++)
|
for (i=0 ; i<256 ; i++)
|
||||||
{
|
{
|
||||||
Key_Event (i, false);
|
if (keydown[i])
|
||||||
|
Key_Event (i, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
Key_ClearStates ();
|
Key_ClearStates ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue