mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-27 06:13:01 +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
|
// 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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue