This commit is contained in:
parent
475b1cdc29
commit
338e8307f8
|
@ -83,18 +83,8 @@ public:
|
||||||
|
|
||||||
inline bool IsBot()
|
inline bool IsBot()
|
||||||
{
|
{
|
||||||
if ((pEdict->v.flags & FL_FAKECLIENT) == FL_FAKECLIENT)
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
const char *auth = GETPLAYERAUTHID(pEdict);
|
const char *auth = GETPLAYERAUTHID(pEdict);
|
||||||
if (auth && (strcmp(auth, "BOT") == 0))
|
return auth && !strcmp(auth, "BOT");
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool IsAlive()
|
inline bool IsAlive()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user