From 29cd16eaf0c6ca52b63ea4645cf206c5f8b7d791 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Tue, 3 Jul 2001 03:08:56 +0000 Subject: Finished new turrets, fixed a few bugs notably the freeze-when-shot-by-turret bug --- src/cgame/cg_ents.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cgame/cg_ents.c') diff --git a/src/cgame/cg_ents.c b/src/cgame/cg_ents.c index 3b66aad6..1c36c2f8 100644 --- a/src/cgame/cg_ents.c +++ b/src/cgame/cg_ents.c @@ -409,6 +409,10 @@ static void CG_Missile( centity_t *cent ) { BG_EvaluateTrajectoryDelta( ¢->currentState.pos, cg.time, velocity ); + //TA: FIXME: hack until i figure out why trap_S_ALS has a problem with velocity` + if( s1->weapon == WP_PLASMAGUN ) + VectorClear( velocity ); + trap_S_AddLoopingSound( cent->currentState.number, cent->lerpOrigin, velocity, weapon->missileSound ); } -- cgit