diff options
| author | salmonik <salmonik@tuta.io> | 2026-10-26 16:41:54 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-10-26 16:42:19 +0100 |
| commit | 4357a9dc269a2fb7297acaf9ba5ad1bb2a48c6dd (patch) | |
| tree | cb1d0e878734926b717b8a9c683f353aaf3eed39 /src/hl2h.cpp | |
| parent | Aimbot: head-only nearest-to-crosshair with bounded smoothing (diff) | |
| download | hl2h-4357a9dc269a2fb7297acaf9ba5ad1bb2a48c6dd.tar.gz hl2h-4357a9dc269a2fb7297acaf9ba5ad1bb2a48c6dd.zip | |
Aimbot: push smoothed angles to engine view + diagnostics
Diffstat (limited to 'src/hl2h.cpp')
| -rw-r--r-- | src/hl2h.cpp | 5 |
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); |
