1
0

fixed function name

This commit is contained in:
Daniel O'Brien 2013-11-14 16:48:14 +11:00
parent 452f589e21
commit dbc2694b0f

View File

@ -319,7 +319,7 @@ float cPlayer::XpGetPercentage()
{
int currentLevel = CalcLevelFromXp(m_XpTotal);
return (float)m_XpTotal / (float)XpAtLevel(1+currentLevel);
return (float)m_XpTotal / (float)XpForLevel(1+currentLevel);
}