From a3ea4df11a1824fb3105bb7030f53cfabdbaa820 Mon Sep 17 00:00:00 2001 From: Cleverson Date: Tue, 18 Jun 2024 15:33:51 -0300 Subject: [PATCH] Fixed check Fixed check --- AccuracyFix/AccuracyFix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AccuracyFix/AccuracyFix.cpp b/AccuracyFix/AccuracyFix.cpp index b27fefc..4b62c79 100644 --- a/AccuracyFix/AccuracyFix.cpp +++ b/AccuracyFix/AccuracyFix.cpp @@ -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);