diff options
author | Tim Angus <tim@ngus.net> | 2004-01-12 23:20:44 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2004-01-12 23:20:44 +0000 |
commit | d975233fbcce187811490ddf4fe3783294baf5a4 (patch) | |
tree | 701bfdb6b565675c5eaae74364b3b8c08a1d7364 /src/cgame | |
parent | 8040d85d5632329caa2948e276eecd20a8150824 (diff) |
* Charge no longer works backwards
* Dragoon pounce numbers fiddled a bit
Diffstat (limited to 'src/cgame')
-rw-r--r-- | src/cgame/cg_view.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cgame/cg_view.c b/src/cgame/cg_view.c index 4256e494..149188a5 100644 --- a/src/cgame/cg_view.c +++ b/src/cgame/cg_view.c @@ -496,6 +496,8 @@ static void CG_OffsetFirstPersonView( void ) angles[ ROLL ] += delta; } +#define DRAGOON_FEEDBACK 20.0f + //provide some feedback for pouncing if( cg.predictedPlayerState.weapon == WP_DRAGOON || cg.predictedPlayerState.weapon == WP_DRAGOON_UPG ) @@ -515,7 +517,7 @@ static void CG_OffsetFirstPersonView( void ) fraction2 = -sin( fraction1 * M_PI / 2 ); - VectorMA( origin, 15 * fraction2, forward, origin ); + VectorMA( origin, DRAGOON_FEEDBACK * fraction2, forward, origin ); } } |