diff options
Diffstat (limited to 'src/cgame/cg_ents.c')
-rw-r--r-- | src/cgame/cg_ents.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 ); } |