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

This commit is contained in:
Mitchell Richters 2022-10-11 16:40:33 +11:00 committed by Christoph Oelckers
parent 51c0fbcca1
commit 283f8d208a

View file

@ -13392,7 +13392,7 @@ int InitLaser(PLAYER* pp)
actorNew->clipdist = 4; actorNew->clipdist = 4;
// the slower the missile travels the less of a zvel it needs // 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.WeaponNum = actor->user.WeaponNum; actorNew->user.WeaponNum = actor->user.WeaponNum;
actorNew->user.Radius = 200; actorNew->user.Radius = 200;