mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 06:31:47 +00:00
Fix grenade rotation ends always the orientation (#5053), patch by Eugene C.
This commit is contained in:
parent
23ceb05c87
commit
eda3faccea
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue