Fix for rendering non players & Update offsets

This commit is contained in:
ifBars
2023-10-30 04:57:14 -06:00
parent e3bfc8ac68
commit 3a04238eec
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -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);
+2 -2
View File
@@ -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
}
}