This commit is contained in:
Riley Labrecque
2014-01-29 14:11:23 +02:00
parent 4c216e6bce
commit f7c7e4ccac
78 changed files with 2487 additions and 204 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
//=============================================================================
#include "stdafx.h"
#include "leaderboards.h"
#include "Leaderboards.h"
#include "BaseMenu.h"
#include <math.h>
@@ -124,7 +124,7 @@ public:
{
char rgchMenuText[256];
const char *pchName = SteamFriends()->GetFriendPersonaName( m_leaderboardEntries[index].m_steamIDUser );
_snprintf( rgchMenuText, sizeof( rgchMenuText ), "(%d) %s - %d", m_leaderboardEntries[index].m_nGlobalRank,
sprintf_safe( rgchMenuText, "(%d) %s - %d", m_leaderboardEntries[index].m_nGlobalRank,
pchName, m_leaderboardEntries[index].m_nScore );
AddMenuItem( MenuItem_t( std::string( rgchMenuText ), menuItemEmpty ) );