diff --git a/amxmodx/CMisc.h b/amxmodx/CMisc.h index 9de8033cb..453924d11 100755 --- a/amxmodx/CMisc.h +++ b/amxmodx/CMisc.h @@ -83,18 +83,8 @@ class CPlayer 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; + const char *auth = GETPLAYERAUTHID(pEdict); + return auth && !strcmp(auth, "BOT"); } inline bool IsAlive() diff --git a/appveyor.yml b/appveyor.yml index f48948881..c0270731a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -98,6 +98,8 @@ for: mkdir -p amxmodx ../support/checkout-deps.sh + + brew install ca-certificates brew install nasm