Loading String
This commit is contained in:
GreYFoXGTi 2011-02-16 12:22:55 +02:00
parent 55794249c8
commit 78ee6148f8
2 changed files with 3 additions and 2 deletions

View file

@ -58,6 +58,7 @@ CServerBrowser::CServerBrowser()
m_ServerlistType = 0; m_ServerlistType = 0;
m_BroadcastTime = 0; m_BroadcastTime = 0;
m_DDRaceSorthash = 0;
} }
void CServerBrowser::SetBaseInfo(class CNetClient *pClient, const char *pNetVersion) void CServerBrowser::SetBaseInfo(class CNetClient *pClient, const char *pNetVersion)
@ -699,7 +700,7 @@ void CServerBrowser::Update()
// check if we need to resort // check if we need to resort
// TODO: remove the str_comp // TODO: remove the str_comp
if(m_Sorthash != SortHash() || str_comp(m_aFilterString, g_Config.m_BrFilterString) != 0 || str_comp(m_aFilterGametypeString, g_Config.m_BrFilterGametype) != 0) if(m_DDRaceSorthash != DDRaceSortHash() || m_Sorthash != SortHash() || str_comp(m_aFilterString, g_Config.m_BrFilterString) != 0 || str_comp(m_aFilterGametypeString, g_Config.m_BrFilterGametype) != 0)
Sort(); Sort();
} }

View file

@ -641,7 +641,7 @@ void CMenus::RenderLoading(float Percent)
Graphics()->QuadsEnd(); Graphics()->QuadsEnd();
const char *pCaption = Localize("Loading"); const char *pCaption = Localize("Loading DDRace Client");
tw = TextRender()->TextWidth(0, 48.0f, pCaption, -1); tw = TextRender()->TextWidth(0, 48.0f, pCaption, -1);
CUIRect r; CUIRect r;