Made code work again.

This commit is contained in:
Marcus Sundberg 2000-02-19 14:30:51 +00:00
parent 10cc5228c5
commit 9baa100ca8
2 changed files with 8 additions and 1 deletions

View file

@ -367,7 +367,9 @@ int IN_Init ()
Cvar_RegisterVariable(&_windowed_mouse);
Cvar_RegisterVariable(&m_filter);
#ifdef HAS_DGA
Cvar_RegisterVariable(&vid_dga_mouseaccel);
#endif
if (COM_CheckParm("-nomouse")) return 1;
mouse_x = mouse_y = 0.0;
mouse_avail = 1;

View file

@ -865,7 +865,7 @@ static void GetEvent(void)
}
void Sys_SendKeyEvents(void)
void IN_SendKeyEvents(void)
{
/* Get events from LibGGI */
if (ggivis) {
@ -879,6 +879,11 @@ void Sys_SendKeyEvents(void)
}
void IN_Frame(void)
{
}
void IN_Init(void)
{
Cvar_RegisterVariable(&m_filter);