summaryrefslogtreecommitdiffstats
path: root/src/hl2h.cpp
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-10-26 16:41:54 +0100
committersalmonik <salmonik@tuta.io>2026-10-26 16:42:19 +0100
commit4357a9dc269a2fb7297acaf9ba5ad1bb2a48c6dd (patch)
treecb1d0e878734926b717b8a9c683f353aaf3eed39 /src/hl2h.cpp
parentAimbot: head-only nearest-to-crosshair with bounded smoothing (diff)
downloadhl2h-4357a9dc269a2fb7297acaf9ba5ad1bb2a48c6dd.tar.gz
hl2h-4357a9dc269a2fb7297acaf9ba5ad1bb2a48c6dd.zip
Aimbot: push smoothed angles to engine view + diagnostics
Diffstat (limited to '')
-rw-r--r--src/hl2h.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/hl2h.cpp b/src/hl2h.cpp
index 21fa7ae..de5d194 100644
--- a/src/hl2h.cpp
+++ b/src/hl2h.cpp
@@ -243,6 +243,11 @@ static void do_move(int seq) {
243 } 243 }
244 244
245 if (feature_active(FEAT_AIMBOT)) { 245 if (feature_active(FEAT_AIMBOT)) {
246 static bool aim_feature_logged = false;
247 if (!aim_feature_logged) {
248 aim_feature_logged = true;
249 logf("aimbot: feature active (bind held)");
250 }
246 if (aimbot_apply(cmd)) { 251 if (aimbot_apply(cmd)) {
247 const float *vel = (const float *)(e + g_net.velocity); 252 const float *vel = (const float *)(e + g_net.velocity);
248 note_modified(cmd, flags, vel); 253 note_modified(cmd, flags, vel);