Add is_friend template to util.c

This commit is contained in:
8dcc
2023-07-27 21:27:01 +02:00
parent 4e3d1ce996
commit 9743b58ae4
2 changed files with 14 additions and 5 deletions

View File

@@ -26,6 +26,7 @@ typedef struct {
cl_entity_t* get_player(int ent_idx);
bool is_alive(cl_entity_t* ent);
bool valid_player(cl_entity_t* ent);
bool is_friend(cl_entity_t* ent);
char* get_name(int ent_idx);
vec3_t vec3(float x, float y, float z);
bool vec_is_zero(vec3_t v);