fixing sql score by @Laxa

This commit is contained in:
XXLTomate 2011-10-12 19:17:48 +02:00
parent fbdae20eb2
commit a2cec1b990

View file

@ -350,6 +350,7 @@ void CSqlScore::ShowRankThread(void *pUser)
pData->m_pSqlData->m_pResults->next();
int since = (int)pData->m_pSqlData->m_pResults->getInt("Ago");
char agoString[40];
mem_zero(agoString, sizeof(agoString));
agoTimeToString(since,agoString);
float Time = (float)pData->m_pSqlData->m_pResults->getDouble("Time");