fix for issues where bots might not 'cache' properly?

This commit is contained in:
David Anderson 2006-09-01 02:22:47 +00:00
parent 35a96176fa
commit 95537e4840

View File

@ -138,15 +138,16 @@ public:
if (pEdict->v.flags & FL_FAKECLIENT) if (pEdict->v.flags & FL_FAKECLIENT)
{ {
bot_value = true; bot_value = true;
bot_cached = true;
} else { } else {
const char *auth = GETPLAYERAUTHID(pEdict); const char *auth = GETPLAYERAUTHID(pEdict);
if (auth && (strcmp(auth, "BOT") == 0)) if (auth && (strcmp(auth, "BOT") == 0))
{ {
bot_value = true; bot_value = true;
}
}
bot_cached = true; bot_cached = true;
} }
}
}
return bot_value; return bot_value;
} }