diff --git a/memory-external/hacks/hack.hpp b/memory-external/hacks/hack.hpp index 195ffe3..31252bd 100644 --- a/memory-external/hacks/hack.hpp +++ b/memory-external/hacks/hack.hpp @@ -128,6 +128,9 @@ namespace hack { if (config::render_distance != -1 && (localOrigin - origin).length2d() > config::render_distance) continue; + if (origin.x == 0 && origin.y == 0 && origin.z == 0) + continue; + const Vector3 screenPos = origin.world_to_screen(view_matrix); const Vector3 screenHead = head.world_to_screen(view_matrix); diff --git a/offsets/offsets.json b/offsets/offsets.json index b4c5268..45bcaf5 100644 --- a/offsets/offsets.json +++ b/offsets/offsets.json @@ -3,7 +3,7 @@ "dwLocalPlayer": 25067864, "dwEntityList": 24745408, "dwViewMatrix": 25720624, - "dwBuildNumber": 4748564, + "dwBuildNumber": 4752660, "dwPlantedC4": 25739232, "m_flC4Blow": 3760, "m_flNextBeep": 3756, @@ -22,4 +22,4 @@ "m_sSanitizedPlayerName": 1824, "m_iTeamNum": 959, "m_vecOrigin": 4628 -} \ No newline at end of file +}