Skip to content

Commit

Permalink
Update UnrealDemoScanner.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
UnrealKaraulov committed Sep 13, 2024
1 parent 8387695 commit fc89e06
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions UnrealDemoScanner/UnrealDemoScanner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace DemoScanner.DG
public static class DemoScanner
{
public const string PROGRAMNAME = "Unreal Demo Scanner";
public const string PROGRAMVERSION = "1.73.6b";
public const string PROGRAMVERSION = "1.73.7b";

public static bool DEMOSCANNER_HLTV = false;

Expand Down Expand Up @@ -9970,7 +9970,9 @@ public static void ProcessPluginMessage(string cmd)
abs(LastSCMD_Angles2[1] - LastSCMD_Angles3[1]) > EPSILON_2)
{
// Console.WriteLine("True Angles 1!");
if (abs(LastSCMD_Angles1[0] - tmp_ACMD_Angles3[0]) < EPSILON_2 &&
/*
// false reported by @moment08
* if (abs(LastSCMD_Angles1[0] - tmp_ACMD_Angles3[0]) < EPSILON_2 &&
abs(LastSCMD_Angles1[1] - tmp_ACMD_Angles3[1]) < EPSILON_2 &&
abs(LastSCMD_Angles2[0] - tmp_ACMD_Angles1[0]) < EPSILON_2 &&
abs(LastSCMD_Angles2[1] - tmp_ACMD_Angles1[1]) < EPSILON_2 &&
Expand All @@ -9981,7 +9983,8 @@ public static void ProcessPluginMessage(string cmd)
"[BETA] [AIM TYPE 12.1 " + CurrentWeapon + "] at (" + CurrentTime +
"):" + CurrentTimeString, abs(CurrentTime - LastBadMsecTime) > 1.0f, mir_found, false, true);
}
else if (abs(LastSCMD_Angles1[0] - tmp_ACMD_Angles3[0]) < EPSILON_2 &&
else */
if (abs(LastSCMD_Angles1[0] - tmp_ACMD_Angles3[0]) < EPSILON_2 &&
abs(LastSCMD_Angles1[1] - tmp_ACMD_Angles3[1]) < EPSILON_2 &&
//abs(LastSCMD_Angles2[0] - tmp_ACMD_Angles1[0]) < EPSILON_2 &&
abs(LastSCMD_Angles2[1] - tmp_ACMD_Angles1[1]) < EPSILON_2 &&
Expand Down

0 comments on commit fc89e06

Please sign in to comment.