mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
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){
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user