fixed bug am27152

This commit is contained in:
David Anderson 2006-12-19 10:57:43 +00:00
parent b237317e50
commit f53c877670

View File

@ -244,9 +244,14 @@ void CPlayer::saveBDefused(){
// *****************************************************
bool ignoreBots (edict_t *pEnt, edict_t *pOther){
bool ignoreBots(edict_t *pEnt, edict_t *pOther)
{
rankBots = (int)csstats_rankbots->value ? true : false;
if (!rankBots && (pEnt->v.flags & FL_FAKECLIENT || (pOther && pOther->v.flags & FL_FAKECLIENT)))
{
return true;
}
return false;
}