diff options
Diffstat (limited to 'src/cgame/cg_ents.c')
-rw-r--r-- | src/cgame/cg_ents.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/cgame/cg_ents.c b/src/cgame/cg_ents.c index 0d8f26de..869eb8c6 100644 --- a/src/cgame/cg_ents.c +++ b/src/cgame/cg_ents.c @@ -408,14 +408,11 @@ static void CG_Missile( centity_t *cent ) if( VectorNormalize2( es->pos.trDelta, ent.axis[ 0 ] ) == 0 ) ent.axis[ 0 ][ 2 ] = 1; - if( wi->wim[ weaponMode ].missileRotates ) - { - // spin as it moves - if( es->pos.trType != TR_STATIONARY ) - RotateAroundDirection( ent.axis, cg.time / 4 ); - else - RotateAroundDirection( ent.axis, es->time ); - } + // spin as it moves + if( es->pos.trType != TR_STATIONARY && wi->wim[ weaponMode ].missileRotates ) + RotateAroundDirection( ent.axis, cg.time / 4 ); + else + RotateAroundDirection( ent.axis, es->time ); } //only refresh if there is something to display |