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