Rename player functions from util

valid_client -> valid_player
get_entity -> get_player
This commit is contained in:
8dcc
2023-07-24 17:06:06 +02:00
parent b1d55be039
commit f3046d6ac8
4 changed files with 10 additions and 10 deletions

View File

@@ -24,7 +24,7 @@ bool chams(void* this_ptr) {
if (ent->index == localplayer->index) {
/* TODO: Hand chams (set var, check in gl hook, return true) */
return false;
} else if (!valid_client(ent) || !is_alive(ent)) {
} else if (!valid_player(ent) || !is_alive(ent)) {
return false;
}