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

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

View file

@ -13860,7 +13860,7 @@ int InitNuke(PLAYER* pp)
SetOwner(pp->actor, actorNew);
actorNew->spr.scale = DVector2(2, 2);
actorNew->spr.shade = -15;
zvel = pp->horizon.horiz.Tan() * ((HORIZ_MULT + 36) * 0.5);
setFreeAimVelocity(actorNew->vel.X, zvel, pp->horizon.horiz, (HORIZ_MULT + 36) * 0.5);
actorNew->clipdist = 4;
// Set to red palette