1
0

A few touch ups

This commit is contained in:
Bill Derouin 2014-01-07 09:40:59 -06:00
parent 5fd62f9cd7
commit ede6757f67
2 changed files with 5 additions and 2 deletions

View File

@ -203,7 +203,10 @@ bool cServer::InitServer(cIniFile & a_SettingsIni)
m_PlayerCount = 0; m_PlayerCount = 0;
m_PlayerCountDiff = 0; m_PlayerCountDiff = 0;
if (cFile::Exists("favicon.png")) m_Favicon = Base64Encode(cFile::ReadWholeFile("favicon.png")); if (cFile::Exists("favicon.png"))
{
m_FaviconData = Base64Encode(cFile::ReadWholeFile("favicon.png"));
}
if (m_bIsConnected) if (m_bIsConnected)
{ {

View File

@ -185,7 +185,7 @@ private:
cRCONServer m_RCONServer; cRCONServer m_RCONServer;
AString m_Description; AString m_Description;
AString m_Favicon; AString m_FaviconData;
int m_MaxPlayers; int m_MaxPlayers;
bool m_bIsHardcore; bool m_bIsHardcore;