summaryrefslogtreecommitdiffstats
path: root/src/esp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/esp.cpp')
-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;