summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorDaniel O'Brien <marmot.daniel@gmail.com>2013-11-13 15:07:24 +0100
committerDaniel O'Brien <marmot.daniel@gmail.com>2013-11-13 15:07:24 +0100
commit875bca5fb9ea509c0bac40cb3c874bf0a45db9c8 (patch)
treed8025b1380f3214a8888bf709513be920c32b0da /source
parentPlayer Xp, includes get/set and addExperience (diff)
downloadcuberite-875bca5fb9ea509c0bac40cb3c874bf0a45db9c8.tar
cuberite-875bca5fb9ea509c0bac40cb3c874bf0a45db9c8.tar.gz
cuberite-875bca5fb9ea509c0bac40cb3c874bf0a45db9c8.tar.bz2
cuberite-875bca5fb9ea509c0bac40cb3c874bf0a45db9c8.tar.lz
cuberite-875bca5fb9ea509c0bac40cb3c874bf0a45db9c8.tar.xz
cuberite-875bca5fb9ea509c0bac40cb3c874bf0a45db9c8.tar.zst
cuberite-875bca5fb9ea509c0bac40cb3c874bf0a45db9c8.zip
Diffstat (limited to '')
-rw-r--r--source/Entities/Player.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Entities/Player.h b/source/Entities/Player.h
index 81552fcf1..ab8fd3b5a 100644
--- a/source/Entities/Player.h
+++ b/source/Entities/Player.h
@@ -77,7 +77,7 @@ public:
bool AddExperience(int a_Xp_delta);
/// Gets the experience total - XpTotal
- inline int GetExperience(void) { return m_XpTotal; }
+ inline int GetExperienceTotal(void) { return m_XpTotal; }
/// Gets the current level - XpLevel
inline int GetExperienceLevel(void) { return m_XpLevel; }