Player name when requesting another player's. closes #197.

Edited from github directly needs to be tested
This commit is contained in:
Shereef Marzouk 2012-11-26 12:54:17 +02:00
parent 7f7a46b497
commit 38aa2cac78

View file

@ -363,7 +363,7 @@ void CSqlScore::ShowRankThread(void *pUser)
if(g_Config.m_SvHideScore)
str_format(aBuf, sizeof(aBuf), "Your time: %d minute(s) %5.2f second(s)", (int)(Time/60), Time-((int)Time/60*60));
else
str_format(aBuf, sizeof(aBuf), "%d. %s Time: %d minute(s) %5.2f second(s)", Rank, pData->m_pSqlData->m_pResults->getString("Name").c_str(), (int)(Time/60), Time-((int)Time/60*60), agoString);
str_format(aBuf, sizeof(aBuf), "%d. %s Time: %d minute(s) %5.2f second(s), requested by (%s)", Rank, pData->m_pSqlData->m_pResults->getString("Name").c_str(), (int)(Time/60), Time-((int)Time/60*60), agoString, pData->m_aRequestingPlayer);
if(pData->m_pSqlData->m_pResults->getInt("stamp") != 0)
{