mirror of
https://github.com/DrBeef/Raze.git
synced 2025-03-21 17:00:52 +00:00
- SW: Pitch-adjusted velocity for InitTracerTurret()
.
This commit is contained in:
parent
25e0b9a073
commit
319c1533b3
1 changed files with 1 additions and 1 deletions
|
@ -15306,7 +15306,7 @@ int InitTracerTurret(DSWActor* actor, DSWActor* Operator, DAngle horiz)
|
|||
actorNew->spr.cstat |= (CSTAT_SPRITE_YCENTER);
|
||||
actorNew->spr.cstat |= (CSTAT_SPRITE_INVISIBLE);
|
||||
|
||||
actorNew->vel.Z = horiz.Tan() * actorNew->vel.X;
|
||||
setFreeAimVelocity(actorNew->vel.X, actorNew->vel.Z, horiz, actorNew->vel.X);
|
||||
|
||||
WeaponAutoAim(actor, actorNew, DAngle22_5 / 4, false);
|
||||
|
||||
|
|
Loading…
Reference in a new issue