summaryrefslogtreecommitdiffstats
path: root/src/Entities/SplashPotionEntity.h
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-06-09 03:14:34 +0200
committerarchshift <admin@archshift.com>2014-06-17 20:39:20 +0200
commit52abd90a28736ca07ad4b2df1259f3b54fd74c9d (patch)
tree0c3818901bc24d27eaa2dedb57b23ad6429afd5d /src/Entities/SplashPotionEntity.h
parentRemoved long function wrapping (diff)
downloadcuberite-52abd90a28736ca07ad4b2df1259f3b54fd74c9d.tar
cuberite-52abd90a28736ca07ad4b2df1259f3b54fd74c9d.tar.gz
cuberite-52abd90a28736ca07ad4b2df1259f3b54fd74c9d.tar.bz2
cuberite-52abd90a28736ca07ad4b2df1259f3b54fd74c9d.tar.lz
cuberite-52abd90a28736ca07ad4b2df1259f3b54fd74c9d.tar.xz
cuberite-52abd90a28736ca07ad4b2df1259f3b54fd74c9d.tar.zst
cuberite-52abd90a28736ca07ad4b2df1259f3b54fd74c9d.zip
Diffstat (limited to 'src/Entities/SplashPotionEntity.h')
-rw-r--r--src/Entities/SplashPotionEntity.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Entities/SplashPotionEntity.h b/src/Entities/SplashPotionEntity.h
index b64b668a5..0f84e6387 100644
--- a/src/Entities/SplashPotionEntity.h
+++ b/src/Entities/SplashPotionEntity.h
@@ -7,6 +7,7 @@
#include "ProjectileEntity.h"
#include "EntityEffects.h"
#include "../World.h"
+#include "Entity.h"
@@ -42,12 +43,12 @@ protected:
int m_PotionName;
class cSplashPotionCallback :
- public cPlayerListCallback
+ public cEntityCallback
{
public:
cSplashPotionCallback(const Vector3d & a_HitPos, cEntityEffect::eType &a_EntityEffectType, cEntityEffect &a_EntityEffect);
- virtual bool Item(cPlayer * a_Player) override;
+ virtual bool Item(cEntity *a_Entity) override;
private:
const Vector3d &m_HitPos;