diff options
Diffstat (limited to 'src/hl2h.cpp')
| -rw-r--r-- | src/hl2h.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/hl2h.cpp b/src/hl2h.cpp index b666585..21fa7ae 100644 --- a/src/hl2h.cpp +++ b/src/hl2h.cpp | |||
| @@ -241,6 +241,13 @@ static void do_move(int seq) { | |||
| 241 | note_modified(cmd, flags, vel); | 241 | note_modified(cmd, flags, vel); |
| 242 | } | 242 | } |
| 243 | } | 243 | } |
| 244 | |||
| 245 | if (feature_active(FEAT_AIMBOT)) { | ||
| 246 | if (aimbot_apply(cmd)) { | ||
| 247 | const float *vel = (const float *)(e + g_net.velocity); | ||
| 248 | note_modified(cmd, flags, vel); | ||
| 249 | } | ||
| 250 | } | ||
| 244 | } | 251 | } |
| 245 | 252 | ||
| 246 | // --------------------------------------------------------------------------- | 253 | // --------------------------------------------------------------------------- |
