in_sdl: Remove commented-out m_filter code and a misleading comment.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1093 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Sander van Dijk 2014-10-08 18:57:55 +00:00
parent c23a0197d6
commit db68976877
1 changed files with 1 additions and 13 deletions

View File

@ -61,11 +61,7 @@ static int buttonremap[] =
K_MOUSE5
};
/* mouse variables */
cvar_t m_filter = {"m_filter","0",CVAR_NONE};
/* total accumulated mouse movement since last frame,
* gets updated from the main game loop via IN_MouseMove */
/* total accumulated mouse movement since last frame */
static int total_dx, total_dy = 0;
static int IN_FilterMouseEvents (const SDL_Event *event)
@ -311,14 +307,6 @@ void IN_Move (usercmd_t *cmd)
{
int dmx, dmy;
/* TODO: fix this
if (m_filter.value)
{
dmx = (2*mx - dmx) * 0.5;
dmy = (2*my - dmy) * 0.5;
}
*/
dmx = total_dx * sensitivity.value;
dmy = total_dy * sensitivity.value;