Fix grenade rotation ends always the orientation (#5053), patch by Eugene C.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user