- Duke: Pitch-adjusted velocity for shootfireball() when free-aiming.

This commit is contained in:
Mitchell Richters 2022-10-11 12:15:40 +11:00
parent 33e2de70a2
commit 64f55726c9

View file

@ -113,8 +113,8 @@ static void shootfireball(DDukeActor *actor, int p, DVector3 pos, DAngle ang)
}
else
{
zvel = ps[p].horizon.sum().Tan() * 49.;
pos += (ang + DAngle1 * 61).ToVector() * (1024 / 448.);
setFreeAimVelocity(vel, zvel, ps[p].horizon.sum(), 49.);
pos += (ang + DAngle1 * 61.171875).ToVector() * (1024. / 448.);
pos.Z += 3;
}