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

This commit is contained in:
Mitchell Richters 2022-10-11 16:48:10 +11:00 committed by Christoph Oelckers
parent 26460bc6aa
commit 393553780b

View file

@ -13758,7 +13758,7 @@ int InitBunnyRocket(PLAYER* pp)
SetOwner(pp->actor, actorNew);
actorNew->spr.scale = DVector2(1, 1);
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;