Skip to content

Commit

Permalink
Fix grenade rotation ends always the orientation (#5053), patch by Eu…
Browse files Browse the repository at this point in the history
…gene C.
  • Loading branch information
Thilo Schulz committed Jun 24, 2011
1 parent 23ceb05 commit eda3fac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/game/g_missile.c
Expand Up @@ -46,6 +46,7 @@ void G_BounceMissile( gentity_t *ent, trace_t *trace ) {
// check for stop
if ( trace->plane.normal[2] > 0.2 && VectorLength( ent->s.pos.trDelta ) < 40 ) {
G_SetOrigin( ent, trace->endpos );
ent->s.time = level.time / 4;
return;
}
}
Expand Down

0 comments on commit eda3fac

Please sign in to comment.