ref: ce1b828618281c87dd43670ce1a14d71db6a79cb
parent: 2f634a05ce168e6c9955a8298103ffdc5de1aceb
author: Simon Howard <[email protected]>
date: Mon Sep 25 16:41:59 EDT 2006
Remove low-pass filter on mouse for testcontrols mode - seems to work ok with real mice. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 664
--- 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 @@
// 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)