summaryrefslogtreecommitdiffstats
path: root/source/Entities/ExpOrb.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-11-25 21:43:43 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-11-25 21:43:43 +0100
commit18b5ccbc0836dbfb4adcff76dbfbde340bcabbc1 (patch)
treeeb095118736e4c61c93e309dbc560cae56aad134 /source/Entities/ExpOrb.cpp
parentAdded cWorld::SpawnExperienceOrb function. (diff)
downloadcuberite-18b5ccbc0836dbfb4adcff76dbfbde340bcabbc1.tar
cuberite-18b5ccbc0836dbfb4adcff76dbfbde340bcabbc1.tar.gz
cuberite-18b5ccbc0836dbfb4adcff76dbfbde340bcabbc1.tar.bz2
cuberite-18b5ccbc0836dbfb4adcff76dbfbde340bcabbc1.tar.lz
cuberite-18b5ccbc0836dbfb4adcff76dbfbde340bcabbc1.tar.xz
cuberite-18b5ccbc0836dbfb4adcff76dbfbde340bcabbc1.tar.zst
cuberite-18b5ccbc0836dbfb4adcff76dbfbde340bcabbc1.zip
Diffstat (limited to '')
-rw-r--r--source/Entities/ExpOrb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Entities/ExpOrb.cpp b/source/Entities/ExpOrb.cpp
index 200f6e181..1e5ee00ce 100644
--- a/source/Entities/ExpOrb.cpp
+++ b/source/Entities/ExpOrb.cpp
@@ -40,7 +40,7 @@ void cExpOrb::SpawnOn(cClientHandle & a_Client)
void cExpOrb::Tick(float a_Dt, cChunk & a_Chunk)
{
- cPlayer * a_ClosestPlayer(m_World->FindClosestPlayer(Vector3f(GetPosition()), 3));
+ cPlayer * a_ClosestPlayer(m_World->FindClosestPlayer(Vector3f(GetPosition()), 4));
if (a_ClosestPlayer)
{
Vector3f a_PlayerPos(a_ClosestPlayer->GetPosition());