Update usehull check for crouched

Check its 1 instead of non-zero. Thanks to @oxiKKK
This commit is contained in:
8dcc 2023-07-26 14:26:09 +02:00
parent dbc12b6fb5
commit ef29333d21
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ void esp(void) {
if (!valid_player(ent) || !is_alive(ent) || vec_is_zero(ent->origin)) if (!valid_player(ent) || !is_alive(ent) || vec_is_zero(ent->origin))
continue; continue;
const int bh = (ent->curstate.usehull) ? 44 : 70; const int bh = (ent->curstate.usehull == 1) ? 44 : 70;
const int bw = 25; const int bw = 25;
/* If ESP_BOX is enabled, draw it. If it returns false, continue */ /* If ESP_BOX is enabled, draw it. If it returns false, continue */