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

This commit is contained in:
Mitchell Richters 2022-10-11 20:59:55 +11:00 committed by Christoph Oelckers
parent 8da5b096c0
commit 26460bc6aa

View file

@ -13651,7 +13651,7 @@ int InitRocket(PLAYER* pp)
SetOwner(pp->actor, actorNew);
actorNew->spr.scale = DVector2(1.40626, 1.40625);
actorNew->spr.shade = -15;
zvel = pp->horizon.horiz.Tan() * ((HORIZ_MULT + 35) * 0.5);
setFreeAimVelocity(actorNew->vel.X, zvel, pp->horizon.horiz, (HORIZ_MULT + 35) * 0.5);
actorNew->clipdist = 4;