diff options
author | Daniel O'Brien <marmot.daniel@gmail.com> | 2013-11-13 18:41:36 +0100 |
---|---|---|
committer | Daniel O'Brien <marmot.daniel@gmail.com> | 2013-11-13 18:41:36 +0100 |
commit | c17f77cf2a6394c833bcc7e83f65e7281f2f32b5 (patch) | |
tree | 4c7c36c12c5b5bb7fc0f3cc7a5587ee91fbf9b57 /source/Entities/Player.cpp | |
parent | Fixed problems with code style etc (diff) | |
download | cuberite-c17f77cf2a6394c833bcc7e83f65e7281f2f32b5.tar cuberite-c17f77cf2a6394c833bcc7e83f65e7281f2f32b5.tar.gz cuberite-c17f77cf2a6394c833bcc7e83f65e7281f2f32b5.tar.bz2 cuberite-c17f77cf2a6394c833bcc7e83f65e7281f2f32b5.tar.lz cuberite-c17f77cf2a6394c833bcc7e83f65e7281f2f32b5.tar.xz cuberite-c17f77cf2a6394c833bcc7e83f65e7281f2f32b5.tar.zst cuberite-c17f77cf2a6394c833bcc7e83f65e7281f2f32b5.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Entities/Player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Entities/Player.cpp b/source/Entities/Player.cpp index 02d80a8b9..470ed428f 100644 --- a/source/Entities/Player.cpp +++ b/source/Entities/Player.cpp @@ -306,7 +306,7 @@ int cPlayer::XpAtLevel(int a_Level) -int cPlayer::GetExperienceLevel() +int cPlayer::XpGetLevel() { return CalcLevelFromXp(m_XpTotal); } @@ -315,7 +315,7 @@ int cPlayer::GetExperienceLevel() -float cPlayer::GetExperiencePercentage() +float cPlayer::XpGetPercentage() { int currentLevel = CalcLevelFromXp(m_XpTotal); |