mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 10:32:27 +00:00
- SW: Pitch-adjusted velocity for InitTurretFireball()
.
This commit is contained in:
parent
462576bc51
commit
01e326df9d
1 changed files with 1 additions and 1 deletions
|
@ -15873,7 +15873,7 @@ int InitTurretFireball(DSWActor* actor, PLAYER* pp)
|
|||
actorNew->user.Flags2 |= (SPR2_SO_MISSILE);
|
||||
actorNew->spr.cstat |= (CSTAT_SPRITE_YCENTER);
|
||||
|
||||
actorNew->vel.Z = pp->horizon.horiz.Tan() * actorNew->vel.X;
|
||||
setFreeAimVelocity(actorNew->vel.X, actorNew->vel.Z, pp->horizon.horiz, actorNew->vel.X);
|
||||
|
||||
WeaponAutoAim(actor, actorNew, DAngle22_5 / 2, false);
|
||||
// a bit of randomness
|
||||
|
|
Loading…
Reference in a new issue