Skip to content

Commit

Permalink
Fixed check
Browse files Browse the repository at this point in the history
Fixed check
  • Loading branch information
SmileYzn authored Jun 18, 2024
1 parent b1f88c4 commit a3ea4df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AccuracyFix/AccuracyFix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void CAccuracyFix::TraceLine(const float* vStart, const float* vEnd, int fNoMons
{
auto trResult = gAccuracyUtil.GetUserAiming(pentToSkip, DistanceLimit);

if (!FNullEnt(trResult.pHit) && (trResult.flFraction == 1.0))
if (!FNullEnt(trResult.pHit))
{
auto TargetIndex = ENTINDEX(trResult.pHit);

Expand Down

0 comments on commit a3ea4df

Please sign in to comment.