summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
authorSTRWarrior <STRWarrior@users.noreply.github.com>2014-01-22 17:07:26 +0100
committerSTRWarrior <STRWarrior@users.noreply.github.com>2014-01-22 17:07:26 +0100
commitbcda30526d761a464042c96c0411ea0ea61c08fe (patch)
treef22ea9f8b2b667d3a5d952fc457730b3e559c069 /src/Entities
parentMerge pull request #566 from xdot/master (diff)
parentFixed compilation on VC2008 (diff)
downloadcuberite-bcda30526d761a464042c96c0411ea0ea61c08fe.tar
cuberite-bcda30526d761a464042c96c0411ea0ea61c08fe.tar.gz
cuberite-bcda30526d761a464042c96c0411ea0ea61c08fe.tar.bz2
cuberite-bcda30526d761a464042c96c0411ea0ea61c08fe.tar.lz
cuberite-bcda30526d761a464042c96c0411ea0ea61c08fe.tar.xz
cuberite-bcda30526d761a464042c96c0411ea0ea61c08fe.tar.zst
cuberite-bcda30526d761a464042c96c0411ea0ea61c08fe.zip
Diffstat (limited to 'src/Entities')
-rw-r--r--src/Entities/Player.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp
index c6b24a465..e5def0156 100644
--- a/src/Entities/Player.cpp
+++ b/src/Entities/Player.cpp
@@ -862,6 +862,7 @@ void cPlayer::KilledBy(cEntity * a_Killer)
virtual bool Item(cObjective * a_Objective) override
{
a_Objective->AddScore(m_Name, 1);
+ return true;
}
} IncrementCounter (GetName());