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 Nov 27, 2023
1 parent 6941b43 commit be4beba
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 @@ -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);
Expand Down

0 comments on commit be4beba

Please sign in to comment.