Skip to content

Commit

Permalink
SW: fix vertical spread for the Uzi
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Dec 5, 2023
1 parent aceed7f commit 60d3a5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/games/sw/src/weapon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15272,7 +15272,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);
Expand Down

0 comments on commit 60d3a5e

Please sign in to comment.