fixed bug am27152
This commit is contained in:
parent
b237317e50
commit
f53c877670
@ -244,9 +244,14 @@ void CPlayer::saveBDefused(){
|
||||
|
||||
// *****************************************************
|
||||
|
||||
bool ignoreBots (edict_t *pEnt, edict_t *pOther){
|
||||
if ( !rankBots && ( pEnt->v.flags & FL_FAKECLIENT || ( pOther && pOther->v.flags & FL_FAKECLIENT ) ) )
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user