diff --git a/src/game/server/ddracechat.cpp b/src/game/server/ddracechat.cpp index 78ff206ca..f48b1b9c5 100644 --- a/src/game/server/ddracechat.cpp +++ b/src/game/server/ddracechat.cpp @@ -409,7 +409,7 @@ void CGameContext::ConTeamTop5(IConsole::IResult *pResult, void *pUserData) const char *pRequestedName = (str_comp(pResult->GetString(0), "me") == 0) ? pSelf->Server()->ClientName(pResult->m_ClientID) : pResult->GetString(0); - pSelf->Score()->ShowTeamTop5(pResult->m_ClientID, pRequestedName, 0); + pSelf->Score()->ShowPlayerTeamTop5(pResult->m_ClientID, pRequestedName, 0); } } else if(pResult->NumArguments() == 2 && pResult->GetInteger(1) != 0) @@ -417,7 +417,7 @@ void CGameContext::ConTeamTop5(IConsole::IResult *pResult, void *pUserData) const char *pRequestedName = (str_comp(pResult->GetString(0), "me") == 0) ? pSelf->Server()->ClientName(pResult->m_ClientID) : pResult->GetString(0); - pSelf->Score()->ShowTeamTop5(pResult->m_ClientID, pRequestedName, pResult->GetInteger(1)); + pSelf->Score()->ShowPlayerTeamTop5(pResult->m_ClientID, pRequestedName, pResult->GetInteger(1)); } else { diff --git a/src/game/server/score.cpp b/src/game/server/score.cpp index 729a00223..fb481eac9 100644 --- a/src/game/server/score.cpp +++ b/src/game/server/score.cpp @@ -210,7 +210,7 @@ void CScore::ShowTeamTop5(int ClientID, int Offset) ExecPlayerThread(CScoreWorker::ShowTeamTop5, "show team top5", ClientID, "", Offset); } -void CScore::ShowTeamTop5(int ClientID, const char *pName, int Offset) +void CScore::ShowPlayerTeamTop5(int ClientID, const char *pName, int Offset) { if(RateLimitPlayer(ClientID)) return; diff --git a/src/game/server/score.h b/src/game/server/score.h index 46879498d..ac0a0120b 100644 --- a/src/game/server/score.h +++ b/src/game/server/score.h @@ -55,7 +55,7 @@ public: void ShowRank(int ClientID, const char *pName); void ShowTeamTop5(int ClientID, int Offset = 1); - void ShowTeamTop5(int ClientID, const char *pName, int Offset = 1); + void ShowPlayerTeamTop5(int ClientID, const char *pName, int Offset = 1); void ShowTeamRank(int ClientID, const char *pName); void ShowTopPoints(int ClientID, int Offset = 1);