summaryrefslogtreecommitdiffstats
path: root/src/esp.cpp
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-10-26 17:07:32 +0100
committersalmonik <salmonik@tuta.io>2026-10-26 17:07:32 +0100
commit057c10951cb279d9809a579659a6d86448f9114d (patch)
treec075ef4cd41e6d31fcb224968c93cb2fd02abac9 /src/esp.cpp
parentAimbot v2: bone checklist and numeric smoothness (diff)
downloadhl2h-057c10951cb279d9809a579659a6d86448f9114d.tar.gz
hl2h-057c10951cb279d9809a579659a6d86448f9114d.zip
ESP: add Show box toggle
Diffstat (limited to '')
-rw-r--r--src/esp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/esp.cpp b/src/esp.cpp
index fbeb234..57f67ae 100644
--- a/src/esp.cpp
+++ b/src/esp.cpp
@@ -516,7 +516,8 @@ void esp_draw() {
516 int right = (int)(t.sx + w / 2); 516 int right = (int)(t.sx + w / 2);
517 int top = (int)(t.sy - t.h); 517 int top = (int)(t.sy - t.h);
518 int bot = (int)t.sy; 518 int bot = (int)t.sy;
519 surf_rect(0, left, top, right, bot); 519 if (esp_option(ESP_OPT_SHOW_BOX))
520 surf_rect(0, left, top, right, bot);
520 bool draw_bar = t.show_health && esp_option(ESP_OPT_SHOW_HEALTHBAR); 521 bool draw_bar = t.show_health && esp_option(ESP_OPT_SHOW_HEALTHBAR);
521 bool draw_num = t.show_health && esp_option(ESP_OPT_SHOW_HEALTHNUM); 522 bool draw_num = t.show_health && esp_option(ESP_OPT_SHOW_HEALTHNUM);
522 int num_x = right + 3; 523 int num_x = right + 3;