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

This commit is contained in:
Mitchell Richters 2022-10-11 17:14:09 +11:00 committed by Christoph Oelckers
parent c8f4e8dab2
commit 8193416e7e

View file

@ -16945,7 +16945,8 @@ int InitFireball(PLAYER* pp)
actorNew->user.ceiling_dist = (6);
actorNew->user.floor_dist = (6);
double zvel = pp->horizon.horiz.Tan() * 120.;
double zvel = 0.;
setFreeAimVelocity(actorNew->vel.X, zvel, pp->horizon.horiz, 120.);
// at certain angles the clipping box was big enough to block the
// initial positioning of the fireball.