Backed out changeset: 049c7073d1a4
This commit is contained in:
parent
8015d1827c
commit
258a9c636a
@ -949,12 +949,6 @@ void PlayerManager::ClearAdminId(AdminId id)
|
|||||||
|
|
||||||
void PlayerManager::ClearAllAdmins()
|
void PlayerManager::ClearAllAdmins()
|
||||||
{
|
{
|
||||||
// Players may not be inited if server hadn't been activated
|
|
||||||
if (!m_Players)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
int maxClients = gpGlobals->maxClients;
|
int maxClients = gpGlobals->maxClients;
|
||||||
for (int i=1; i<=maxClients; i++)
|
for (int i=1; i<=maxClients; i++)
|
||||||
{
|
{
|
||||||
@ -969,12 +963,6 @@ const char *PlayerManager::GetPassInfoVar()
|
|||||||
|
|
||||||
void PlayerManager::RecheckAnyAdmins()
|
void PlayerManager::RecheckAnyAdmins()
|
||||||
{
|
{
|
||||||
// Players may not be inited if server hadn't been activated
|
|
||||||
if (!m_Players)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
int maxClients = gpGlobals->maxClients;
|
int maxClients = gpGlobals->maxClients;
|
||||||
for (int i=1; i<=maxClients; i++)
|
for (int i=1; i<=maxClients; i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user