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

This commit is contained in:
Mitchell Richters 2022-10-11 12:16:37 +11:00
parent 64f55726c9
commit 9f32eae1a7

View file

@ -175,7 +175,7 @@ static void shootflamethrowerflame(DDukeActor* actor, int p, DVector3 spos, DAng
}
else
{
zvel = ps[p].horizon.sum().Tan() * 40.5;
setFreeAimVelocity(vel, zvel, ps[p].horizon.sum(), 40.5);
// WTF???
DAngle myang = DAngle90 - (DAngle180 - abs(abs((spos.XY() - ps[p].pos.XY()).Angle() - sang) - DAngle180));