Update usehull check for crouched
Check its 1 instead of non-zero. Thanks to @oxiKKK
This commit is contained in:
parent
dbc12b6fb5
commit
ef29333d21
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue