mirror of
https://github.com/DrBeef/Raze.git
synced 2025-03-22 17:21:00 +00:00
- SW: Pitch-adjusted velocity for InitGrenade()
.
This commit is contained in:
parent
9d0b146470
commit
db2f9b9b13
1 changed files with 1 additions and 1 deletions
|
@ -16695,7 +16695,7 @@ int InitGrenade(PLAYER* pp)
|
|||
if (pp->Flags & (PF_DIVING) || SpriteInUnderwaterArea(actorNew))
|
||||
actorNew->user.Flags |= (SPR_UNDERWATER);
|
||||
|
||||
actorNew->vel.Z = pp->horizon.horiz.Tan() * HORIZ_MULTF;
|
||||
setFreeAimVelocity(actorNew->vel.X, actorNew->vel.Z, pp->horizon.horiz, HORIZ_MULTF);
|
||||
|
||||
auto oclipdist = actor->clipdist;
|
||||
actor->clipdist = 0;
|
||||
|
|
Loading…
Reference in a new issue