diff options
Diffstat (limited to 'src/cgame/cg_ents.c')
-rw-r--r-- | src/cgame/cg_ents.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cgame/cg_ents.c b/src/cgame/cg_ents.c index d32318e7..e8d60f4d 100644 --- a/src/cgame/cg_ents.c +++ b/src/cgame/cg_ents.c @@ -408,9 +408,6 @@ static void CG_Missile( centity_t *cent ) wim = &wi->wim[ weaponMode ]; - // calculate the axis - VectorCopy( es->angles, cent->lerpAngles ); - // add dynamic light if( wim->missileDlight ) { @@ -655,7 +652,7 @@ static void CG_LightFlare( centity_t *cent ) flare.renderfx |= RF_DEPTHHACK; //bunch of geometry - AngleVectors( es->angles, forward, NULL, NULL ); + AngleVectors( cent->lerpAngles, forward, NULL, NULL ); VectorCopy( cent->lerpOrigin, flare.origin ); VectorSubtract( flare.origin, cg.refdef.vieworg, delta ); len = VectorLength( delta ); |