SW: fix vertical spread for the Uzi

This commit is contained in:
Christoph Oelckers 2023-11-27 16:08:17 +01:00
parent 6941b43856
commit be4bebaa3b

View file

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