summaryrefslogtreecommitdiffstats
path: root/src/hl2h.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/hl2h.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/hl2h.cpp b/src/hl2h.cpp
index 375cd5a..84f9d0d 100644
--- a/src/hl2h.cpp
+++ b/src/hl2h.cpp
@@ -584,6 +584,7 @@ static void do_move(int seq, float frametime) {
584 aimbot_reset_lock(); 584 aimbot_reset_lock();
585 silentaim_reset_lock(); 585 silentaim_reset_lock();
586 fullbright_invalidate(); 586 fullbright_invalidate();
587 logf("do_move: post-local");
587 } 588 }
588 589
589 if (feature_active(FEAT_SPREAD)) { 590 if (feature_active(FEAT_SPREAD)) {
@@ -696,7 +697,12 @@ static void do_move(int seq, float frametime) {
696 if (jumpbug_apply(cmd, localIdx, ent, flags, vel, frametime)) 697 if (jumpbug_apply(cmd, localIdx, ent, flags, vel, frametime))
697 note_modified(cmd, flags, vel); 698 note_modified(cmd, flags, vel);
698 699
700 static bool melee_logged = false;
699 bool melee = feature_active(FEAT_MELEE) && melee_weapon_active(ent); 701 bool melee = feature_active(FEAT_MELEE) && melee_weapon_active(ent);
702 if (!melee_logged) {
703 melee_logged = true;
704 logf("do_move: after melee check (crowbar=%d)", (int)melee);
705 }
700 706
701 if (!feature_active(FEAT_AIMBOT) || !feature_has_bind(FEAT_AIMBOT) || melee) 707 if (!feature_active(FEAT_AIMBOT) || !feature_has_bind(FEAT_AIMBOT) || melee)
702 aimbot_reset_lock(); 708 aimbot_reset_lock();