diff options
author | Simon Howard | 2006-09-25 20:41:59 +0000 |
---|---|---|
committer | Simon Howard | 2006-09-25 20:41:59 +0000 |
commit | ce1b828618281c87dd43670ce1a14d71db6a79cb (patch) | |
tree | 6f5b9af47a3bf4cc13bc8043e0a4e241118d19ad /src/g_game.c | |
parent | 2f634a05ce168e6c9955a8298103ffdc5de1aceb (diff) | |
download | chocolate-doom-ce1b828618281c87dd43670ce1a14d71db6a79cb.tar.gz chocolate-doom-ce1b828618281c87dd43670ce1a14d71db6a79cb.tar.bz2 chocolate-doom-ce1b828618281c87dd43670ce1a14d71db6a79cb.zip |
Remove low-pass filter on mouse for testcontrols mode - seems to work
ok with real mice.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 664
Diffstat (limited to 'src/g_game.c')
-rw-r--r-- | src/g_game.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/g_game.c b/src/g_game.c index 4b6ec2f2..59c4754d 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: g_game.c 662 2006-09-25 18:04:29Z fraggle $ +// $Id: g_game.c 664 2006-09-25 20:41:59Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -134,7 +134,7 @@ static const char -rcsid[] = "$Id: g_game.c 662 2006-09-25 18:04:29Z fraggle $"; +rcsid[] = "$Id: g_game.c 664 2006-09-25 20:41:59Z fraggle $"; #include <string.h> #include <stdlib.h> @@ -825,8 +825,7 @@ boolean G_Responder (event_t* ev) // Perform a low pass filter on this so that the thermometer // appears to move smoothly. - testcontrols_mousespeed = ((testcontrols_mousespeed * 2) - + abs(ev->data2)) / 3; + testcontrols_mousespeed = abs(ev->data2); } switch (ev->type) |