From 057c10951cb279d9809a579659a6d86448f9114d Mon Sep 17 00:00:00 2001 From: salmonik Date: Mon, 26 Oct 2026 17:07:32 +0100 Subject: ESP: add Show box toggle --- src/esp.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/esp.cpp') 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() { int right = (int)(t.sx + w / 2); int top = (int)(t.sy - t.h); int bot = (int)t.sy; - surf_rect(0, left, top, right, bot); + if (esp_option(ESP_OPT_SHOW_BOX)) + surf_rect(0, left, top, right, bot); bool draw_bar = t.show_health && esp_option(ESP_OPT_SHOW_HEALTHBAR); bool draw_num = t.show_health && esp_option(ESP_OPT_SHOW_HEALTHNUM); int num_x = right + 3; -- cgit v1.2.3