summaryrefslogtreecommitdiffstats
path: root/source/Entities
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Entities/ExpOrb.cpp2
-rw-r--r--source/Entities/ExpOrb.h2
2 files changed, 2 insertions, 2 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());
diff --git a/source/Entities/ExpOrb.h b/source/Entities/ExpOrb.h
index 0f1b6ede7..a062eedd3 100644
--- a/source/Entities/ExpOrb.h
+++ b/source/Entities/ExpOrb.h
@@ -22,7 +22,7 @@ public:
virtual void SpawnOn(cClientHandle & a_Client) override;
// cExpOrb functions
- short int GetReward(void) const { return m_Reward; }
+ int GetReward(void) const { return m_Reward; }
protected:
int m_Reward;