Commit 62cbd84e authored by Steven Fuller's avatar Steven Fuller

readded the mouse delta clearing that disappeared long ago.

parent 744ad325
......@@ -615,6 +615,8 @@ void CheckKeys()
IN_ClearKeysDown();
SD_MusicOn();
IN_GetMouseDelta(NULL, NULL); // Clear accumulated mouse movement
Paused = false;
return;
}
......@@ -669,6 +671,8 @@ void CheckKeys()
playstate = ex_abort;
lasttimecount = get_TimeCount();
IN_GetMouseDelta(NULL, NULL); // Clear accumulated mouse movement
return;
}
......@@ -681,6 +685,9 @@ void CheckKeys()
SETFONTCOLOR(0,15);
DebugKeys();
lasttimecount = get_TimeCount();
IN_GetMouseDelta(NULL, NULL); // Clear accumulated mouse movement
return;
}
......@@ -1189,6 +1196,8 @@ void PlayLoop()
memset (buttonstate,0,sizeof(buttonstate));
ClearPaletteShifts();
IN_GetMouseDelta(NULL, NULL); // Clear accumulated mouse movement
if (demoplayback)
IN_StartAck();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment