mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-22 12:11:17 +00:00
SW: fix vertical spread for the Uzi
This commit is contained in:
parent
4644bfcbc7
commit
5e72265bfa
1 changed files with 1 additions and 1 deletions
|
@ -14806,7 +14806,7 @@ int InitUzi(DSWPlayer* pp)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
daang = pp->GetActor()->spr.Angles.Yaw + mapangle(RandomRange(24) - 12);
|
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);
|
DVector3 vect(daang.ToVector() * dax, daz);
|
||||||
|
|
Loading…
Reference in a new issue