From fdb5cdf3568f35edad567f6fa076ff3cb6fc7102 Mon Sep 17 00:00:00 2001 From: 8dcc <8dcc.git@gmail.com> Date: Mon, 24 Jul 2023 20:35:22 +0200 Subject: [PATCH] Add change box esp size if player is crouched --- src/features/esp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/esp.c b/src/features/esp.c index 3d564dc..a706bfa 100644 --- a/src/features/esp.c +++ b/src/features/esp.c @@ -80,7 +80,7 @@ void esp(void) { if (!valid_player(ent) || !is_alive(ent) || vec_is_zero(ent->origin)) continue; - const int bh = 70; + const int bh = (ent->curstate.usehull) ? 44 : 70; const int bw = 25; /* If ESP_BOX is enabled, draw it. If it returns false, continue */