From 0c294171df1a569412281cee37e19aa3e5a271ff Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Sat, 2 Aug 2003 20:36:12 +0000 Subject: [PATCH] use fixed 20fps wiggle --- main/controls.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/main/controls.c b/main/controls.c index b9bc2687..0d6cbd63 100644 --- a/main/controls.c +++ b/main/controls.c @@ -1,4 +1,4 @@ -/* $Id: controls.c,v 1.4 2003-08-02 20:35:46 btb Exp $ */ +/* $Id: controls.c,v 1.5 2003-08-02 20:36:12 btb Exp $ */ /* THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO @@ -198,7 +198,7 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED. #endif #ifdef RCS -static char rcsid[] = "$Id: controls.c,v 1.4 2003-08-02 20:35:46 btb Exp $"; +static char rcsid[] = "$Id: controls.c,v 1.5 2003-08-02 20:36:12 btb Exp $"; #endif #include @@ -351,10 +351,8 @@ void read_flying_controls( object * obj ) { fix swiggle; fix_fastsincos(GameTime, &swiggle, NULL); -#if 0 if (FrameTime < F1_0) // Only scale wiggle if getting at least 1 FPS, to avoid causing the opposite problem. swiggle = fixmul(swiggle*20, FrameTime); //make wiggle fps-independent (based on pre-scaled amount of wiggle at 20 FPS) -#endif vm_vec_scale_add2(&obj->mtype.phys_info.velocity,&obj->orient.uvec,fixmul(swiggle,Player_ship->wiggle)); } -- 2.39.2