- RR: Pitch-adjusted velocity for shootrpg() when free-aiming.

This commit is contained in:
Mitchell Richters 2022-10-11 12:35:04 +11:00
parent b9bd02299a
commit 211b2cc349

View file

@ -596,7 +596,7 @@ static void shootrpg(DDukeActor* actor, int p, DVector3 pos, DAngle ang, int atw
ang = (aimed->spr.pos.XY() - pos.XY()).Angle();
}
else
zvel = ps[p].horizon.sum().Tan() * 40.5;
setFreeAimVelocity(vel, zvel, ps[p].horizon.sum(), 40.5);
if (atwith == RPG)
S_PlayActorSound(RPG_SHOOT, actor);