Flummi 2022-07-11 13:01:02 +00:00
parent 475b1cdc29
commit 338e8307f8

View File

@ -83,18 +83,8 @@ public:
inline bool IsBot()
{
if ((pEdict->v.flags & FL_FAKECLIENT) == FL_FAKECLIENT)
{
return true;
}
const char *auth = GETPLAYERAUTHID(pEdict);
if (auth && (strcmp(auth, "BOT") == 0))
{
return true;
}
return false;
return auth && !strcmp(auth, "BOT");
}
inline bool IsAlive()