From 4dc16adda03b780c3a1f8038e7cbe94f4a61d5f8 Mon Sep 17 00:00:00 2001 From: salmonik Date: Tue, 3 Nov 2026 23:10:38 +0100 Subject: Remove temporary crash-stage markers --- src/esp.cpp | 5 ----- src/hl2h.cpp | 6 ------ src/menu.cpp | 15 --------------- 3 files changed, 26 deletions(-) diff --git a/src/esp.cpp b/src/esp.cpp index 40e00f6..405dea7 100644 --- a/src/esp.cpp +++ b/src/esp.cpp @@ -932,11 +932,6 @@ static float vec_dist(const Vector &a, const Vector &b) { bool melee_weapon_active(void *local_ent) { if (!local_ent) return false; - static bool enter_logged = false; - if (!enter_logged) { - enter_logged = true; - logf("melee: enter"); - } int local = engine_get_local_player(); if (g_iface.engineserver) resolve_server_netvars(); 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) { aimbot_reset_lock(); silentaim_reset_lock(); fullbright_invalidate(); - logf("do_move: post-local"); } if (feature_active(FEAT_SPREAD)) { @@ -697,12 +696,7 @@ static void do_move(int seq, float frametime) { if (jumpbug_apply(cmd, localIdx, ent, flags, vel, frametime)) note_modified(cmd, flags, vel); - static bool melee_logged = false; bool melee = feature_active(FEAT_MELEE) && melee_weapon_active(ent); - if (!melee_logged) { - melee_logged = true; - logf("do_move: after melee check (crowbar=%d)", (int)melee); - } if (!feature_active(FEAT_AIMBOT) || !feature_has_bind(FEAT_AIMBOT) || melee) aimbot_reset_lock(); diff --git a/src/menu.cpp b/src/menu.cpp index e48fee0..9a249f8 100644 --- a/src/menu.cpp +++ b/src/menu.cpp @@ -699,24 +699,9 @@ void fullbright_update() { // (see hkdDrawPrintText hook in hl2h.cpp): we wrap our draws in // PushMakeCurrent/PopMakeCurrent so they are submitted with a clean clip. void outer_draw() { - static bool outer_enter = false; - if (!outer_enter) { - outer_enter = true; - logf("outer_draw: enter"); - } poll_keyboard(); fullbright_update(); - static bool fb_done = false; - if (!fb_done) { - fb_done = true; - logf("outer_draw: after fullbright"); - } gui_handle_input(); - static bool gui_done = false; - if (!gui_done) { - gui_done = true; - logf("outer_draw: after gui input"); - } // HL2H_DRAW_TEST=1 draws a probe rect without needing the GUI open static bool draw_test = getenv("HL2H_DRAW_TEST") != nullptr; bool esp_on = feature_active(FEAT_ESP); -- cgit v1.2.3