SW: fix vertical spread for the Uzi

This commit is contained in:
Christoph Oelckers 2023-11-27 16:08:17 +01:00
parent 4644bfcbc7
commit 5e72265bfa

View file

@ -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);