mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-20 18:52:43 +00:00
- SW: Pitch-adjusted velocity for InitTurretLaser()
.
This commit is contained in:
parent
a1791acf97
commit
95a5e51283
1 changed files with 1 additions and 1 deletions
|
@ -15957,7 +15957,7 @@ int InitTurretLaser(DSWActor* actor, PLAYER* pp)
|
|||
actorNew->spr.shade = -15;
|
||||
|
||||
// the slower the missile travels the less of a zvel it needs
|
||||
actorNew->vel.Z = pp->horizon.horiz.Tan() * 16.;
|
||||
setFreeAimVelocity(actorNew->vel.X, actorNew->vel.Z, pp->horizon.horiz, 16.);
|
||||
|
||||
actorNew->user.Radius = 200;
|
||||
actorNew->user.ceiling_dist = (1);
|
||||
|
|
Loading…
Reference in a new issue