- SW: Pitch-adjusted velocity for InitTurretLaser().

This commit is contained in:
Mitchell Richters 2022-10-11 17:04:08 +11:00 committed by Christoph Oelckers
parent a1791acf97
commit 95a5e51283

View file

@ -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);