mirror of
https://github.com/ZDoom/Raze.git
synced 2025-04-22 16:05:43 +00:00
SW: fix vertical spread for the Uzi
This commit is contained in:
parent
6941b43856
commit
be4bebaa3b
1 changed files with 1 additions and 1 deletions
|
@ -14822,7 +14822,7 @@ int InitUzi(DSWPlayer* pp)
|
|||
else
|
||||
{
|
||||
daang = pp->GetActor()->spr.Angles.Yaw + mapangle(RandomRange(24) - 12);
|
||||
setFreeAimVelocity(dax, daz, pp->getPitchWithView(), 1000. - (RandomRangeF(24000/256.) - 12000/256.));
|
||||
setFreeAimVelocity(dax, daz, pp->getPitchWithView(), 1000. + (RandomRangeF(24000 / 16.) - 12000 / 16.));
|
||||
}
|
||||
|
||||
DVector3 vect(daang.ToVector() * dax, daz);
|
||||
|
|
Loading…
Reference in a new issue