Merge pull request #118 from XXLTomate/ddracePullSqlFix

fixing sql score by @Laxa
unrevised untested @XXLTomate thanks but please test and maintain i didn't even see the changed code
This commit is contained in:
Shereef Marzouk 2011-10-12 10:29:12 -07:00
commit b5f8738acd

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");