Player name when requesting another player's

Edited from github directly needs to be tested
This commit is contained in:
Shereef Marzouk 2012-11-26 12:47:41 +02:00
parent 3ececbd5f7
commit 7f7a46b497

View file

@ -260,9 +260,9 @@ void CFileScore::ShowRank(int ClientID, const char* pName, bool Search)
Time - ((int) Time / 60 * 60));
else
str_format(aBuf, sizeof(aBuf),
"%d. %s Time: %d minute(s) %5.2f second(s)", Pos,
"%d. %s Time: %d minute(s) %5.2f second(s), requested by (%s)", Pos,
pScore->m_aName, (int) Time / 60,
Time - ((int) Time / 60 * 60));
Time - ((int) Time / 60 * 60), aClientName);
if (!Search)
GameServer()->SendChat(-1, CGameContext::CHAT_ALL, aBuf, ClientID);
else