mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
commit
435639636e
|
@ -1587,7 +1587,7 @@ void CServer::ConchainModCommandUpdate(IConsole::IResult *pResult, void *pUserDa
|
|||
{
|
||||
CServer *pThis = static_cast<CServer *>(pUserData);
|
||||
const IConsole::CCommandInfo *pInfo = pThis->Console()->GetCommandInfo(pResult->GetString(0), CFGFLAG_SERVER, false);
|
||||
int OldAccessLevel;
|
||||
int OldAccessLevel = 0;
|
||||
if(pInfo)
|
||||
OldAccessLevel = pInfo->GetAccessLevel();
|
||||
pfnCallback(pResult, pCallbackUserData);
|
||||
|
|
|
@ -94,6 +94,7 @@ void CCountryFlags::OnInit()
|
|||
CCountryFlag DummyEntry;
|
||||
DummyEntry.m_CountryCode = -1;
|
||||
DummyEntry.m_Texture = -1;
|
||||
mem_zero(DummyEntry.m_aCountryCodeString, sizeof(DummyEntry.m_aCountryCodeString));
|
||||
m_aCountryFlags.add(DummyEntry);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue