mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-31 13:10:39 +00:00
- fixed velocity for Duke's pipe bomb and RR's dynamite when crouching.
These cases may not use the generic free aim adjustment.
This commit is contained in:
parent
e88b24bce7
commit
a8585d72c7
2 changed files with 2 additions and 2 deletions
|
@ -2199,7 +2199,7 @@ static void operateweapon(int snum, ESyncBits actions)
|
|||
if (p->on_ground && (actions & SB_CROUCH))
|
||||
{
|
||||
vel = 15/16.;
|
||||
setFreeAimVelocity(vel, zvel, p->horizon.sum(), 10.);
|
||||
zvel = p->horizon.sum().Tan() * 10.;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -2699,7 +2699,7 @@ static void operateweapon(int snum, ESyncBits actions, sectortype* psectp)
|
|||
if (p->on_ground && (actions & SB_CROUCH))
|
||||
{
|
||||
vel = 15 / 16.;
|
||||
setFreeAimVelocity(vel, zvel, p->horizon.sum(), 10.);
|
||||
zvel = p->horizon.sum().Tan() * 10.;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue