Fix grenade rotation ends always the orientation (#5053), patch by Eugene C.

This commit is contained in:
Thilo Schulz 2011-06-24 13:15:03 +00:00
parent 23ceb05c87
commit eda3faccea

View file

@ -46,6 +46,7 @@ void G_BounceMissile( gentity_t *ent, trace_t *trace ) {
// check for stop // check for stop
if ( trace->plane.normal[2] > 0.2 && VectorLength( ent->s.pos.trDelta ) < 40 ) { if ( trace->plane.normal[2] > 0.2 && VectorLength( ent->s.pos.trDelta ) < 40 ) {
G_SetOrigin( ent, trace->endpos ); G_SetOrigin( ent, trace->endpos );
ent->s.time = level.time / 4;
return; return;
} }
} }