We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aba1305 commit 2de363fCopy full SHA for 2de363f
UnrealDemoScanner/UnrealDemoScanner.cs
@@ -10097,9 +10097,9 @@ public static void ProcessPluginMessage(string cmd)
10097
10098
foreach (var v in CDAngleHistoryAim12List)
10099
{
10100
- mir_found = v.tmp[0] == v.tmp[1]
10101
- && v.tmp[1] == v.tmp[2] &&
10102
- v.tmp[0] == LastSCMD_Angles1[1];
+ mir_found = abs(v.tmp[0] - v.tmp[1]) < EPSILON_2
+ && abs(v.tmp[1] - v.tmp[2]) < EPSILON_2 &&
+ abs(v.tmp[0] - LastSCMD_Angles1[1]) < EPSILON_2;
10103
if (mir_found)
10104
break;
10105
}
0 commit comments