summaryrefslogtreecommitdiffstats
path: root/source/Entities/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Entities/Player.cpp')
-rw-r--r--source/Entities/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Entities/Player.cpp b/source/Entities/Player.cpp
index 88be5de56..f79fbfe7a 100644
--- a/source/Entities/Player.cpp
+++ b/source/Entities/Player.cpp
@@ -284,7 +284,7 @@ int cPlayer::CalcLevelFromXp(int a_XpTotal)
-int cPlayer::XpAtLevel(int a_Level)
+int cPlayer::XpForLevel(int a_Level)
{
//level 0 to 15
if(a_Level <= 15)