diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2013-11-25 21:43:43 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2013-11-25 21:43:43 +0100 |
commit | 18b5ccbc0836dbfb4adcff76dbfbde340bcabbc1 (patch) | |
tree | eb095118736e4c61c93e309dbc560cae56aad134 /source/Entities/ExpOrb.cpp | |
parent | Added cWorld::SpawnExperienceOrb function. (diff) | |
download | cuberite-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 'source/Entities/ExpOrb.cpp')
-rw-r--r-- | source/Entities/ExpOrb.cpp | 2 |
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()); |