mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- RR: Pitch-adjusted velocity for shootrpg()
when free-aiming.
This commit is contained in:
parent
b9bd02299a
commit
211b2cc349
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue