fixed bug am27152
This commit is contained in:
1 parent
b237317e50
commit
f53c877670
1 file changed
+7
-2
@@ -244,9 +244,14 @@ void CPlayer::saveBDefused(){
|
|||||||
|
|
||||||
// *****************************************************
|
// *****************************************************
|
||||||
|
|
||||||
bool ignoreBots (edict_t *pEnt, edict_t *pOther){
|
bool ignoreBots(edict_t *pEnt, edict_t *pOther)
|
||||||
if ( !rankBots && ( pEnt->v.flags & FL_FAKECLIENT || ( pOther && pOther->v.flags & FL_FAKECLIENT ) ) )
|
{
|
||||||
|
rankBots = (int)csstats_rankbots->value ? true : false;
|
||||||
|
if (!rankBots && (pEnt->v.flags & FL_FAKECLIENT || (pOther && pOther->v.flags & FL_FAKECLIENT)))
|
||||||
|
{
|
||||||
return true;
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user