summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorDaniel O'Brien <marmot.daniel@gmail.com>2013-11-16 14:13:53 +0100
committerDaniel O'Brien <marmot.daniel@gmail.com>2013-11-16 14:13:53 +0100
commitcd1c4058940c12a88419c1d417ff2534050a0565 (patch)
treec974d21e572244e87ade9afdb23548576397e51f /source
parentremoved magic number (diff)
downloadcuberite-cd1c4058940c12a88419c1d417ff2534050a0565.tar
cuberite-cd1c4058940c12a88419c1d417ff2534050a0565.tar.gz
cuberite-cd1c4058940c12a88419c1d417ff2534050a0565.tar.bz2
cuberite-cd1c4058940c12a88419c1d417ff2534050a0565.tar.lz
cuberite-cd1c4058940c12a88419c1d417ff2534050a0565.tar.xz
cuberite-cd1c4058940c12a88419c1d417ff2534050a0565.tar.zst
cuberite-cd1c4058940c12a88419c1d417ff2534050a0565.zip
Diffstat (limited to '')
-rw-r--r--source/Entities/Player.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Entities/Player.cpp b/source/Entities/Player.cpp
index ccc7b89f1..436ae0cfc 100644
--- a/source/Entities/Player.cpp
+++ b/source/Entities/Player.cpp
@@ -381,8 +381,8 @@ short cPlayer::DeltaExperience(short a_Xp_delta)
m_LifetimeTotalXp += a_Xp_delta;
}
- LOGD("Player \"%s\" earnt %d experience, total is now: %d",
- m_PlayerName.c_str(), a_Xp_delta, m_XpTotal);
+ LOGD("Player \"%s\" gained/lost %d experience, total is now: %d",
+ m_PlayerName.c_str(), a_Xp_delta, m_CurrentXp);
// Set experience to be updated
m_bDirtyExperience = true;