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

This commit is contained in:
Mitchell Richters 2022-10-11 12:33:22 +11:00
parent 73477a722c
commit a200db6f3a

View file

@ -596,7 +596,7 @@ static void shootstuff(DDukeActor* actor, int p, DVector3 pos, DAngle ang, int a
ang = (aimed->spr.pos.XY() - pos.XY()).Angle();
}
else
zvel = ps[p].horizon.sum().Tan() * 49.;
setFreeAimVelocity(vel, zvel, ps[p].horizon.sum(), 49.);
}
else
{