mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-13 20:42:11 +00:00
- Duke: Pitch-adjusted velocity for shootstuff()
when free-aiming.
This commit is contained in:
parent
73477a722c
commit
a200db6f3a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue