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

This commit is contained in:
Mitchell Richters 2022-10-11 12:35:30 +11:00
parent 211b2cc349
commit 24dcd26e64

View file

@ -746,7 +746,7 @@ static void shootwhip(DDukeActor* actor, int p, DVector3 pos, DAngle ang, int at
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
{