Add missing stock to jutil.inc

This commit is contained in:
Jackzie 2020-12-19 14:51:51 -06:00
parent b1782c1c28
commit 8d05ef6092
No known key found for this signature in database
GPG key ID: 1E834FE36520537A
3 changed files with 5 additions and 5 deletions

Binary file not shown.

View file

@ -139,6 +139,11 @@ stock bool FindSurvivorModel(const char str[16], char[] model, int modelStrSize)
}
return false;
}
stock bool TraceFilter(int entity, int contentsMask) {
if( entity <= MaxClients )
return false;
return true;
}
stock bool GetGround(int client, float[3] vPos, float[3] vAng) {
GetClientAbsOrigin(client, vPos);
vAng = vPos;

View file

@ -216,11 +216,6 @@ stock int SpawnSurvivor(const float vPos[3], const float vAng[3], const char[] m
//probably return user_id?
return bot_client_id;
}
stock bool TraceFilter(int entity, int contentsMask) {
if( entity <= MaxClients )
return false;
return true;
}
void AvoidCharacter(int type, bool avoid) {
for( int i = 1; i <= MaxClients; i++ )
{