summaryrefslogtreecommitdiffstats
path: root/src/Entities/SplashPotionEntity.h
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2017-09-07 10:25:34 +0200
committerMattes D <github@xoft.cz>2017-09-07 10:25:34 +0200
commit104f9e127b259731836c2b88d74a8d731f3ad535 (patch)
tree0aa333690caf9480f38e2ec1a88265b84544aeb5 /src/Entities/SplashPotionEntity.h
parentAdd cWorld::RemoveEntity and use in cEntity (#4003) (diff)
downloadcuberite-104f9e127b259731836c2b88d74a8d731f3ad535.tar
cuberite-104f9e127b259731836c2b88d74a8d731f3ad535.tar.gz
cuberite-104f9e127b259731836c2b88d74a8d731f3ad535.tar.bz2
cuberite-104f9e127b259731836c2b88d74a8d731f3ad535.tar.lz
cuberite-104f9e127b259731836c2b88d74a8d731f3ad535.tar.xz
cuberite-104f9e127b259731836c2b88d74a8d731f3ad535.tar.zst
cuberite-104f9e127b259731836c2b88d74a8d731f3ad535.zip
Diffstat (limited to 'src/Entities/SplashPotionEntity.h')
-rw-r--r--src/Entities/SplashPotionEntity.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Entities/SplashPotionEntity.h b/src/Entities/SplashPotionEntity.h
index baa5da725..fc364404b 100644
--- a/src/Entities/SplashPotionEntity.h
+++ b/src/Entities/SplashPotionEntity.h
@@ -60,8 +60,8 @@ protected:
// cProjectileEntity overrides:
- virtual void OnHitSolidBlock(const Vector3d & a_HitPos, eBlockFace a_HitFace) override;
- virtual void OnHitEntity (cEntity & a_EntityHit, const Vector3d & a_HitPos) override;
+ virtual void OnHitSolidBlock(Vector3d a_HitPos, eBlockFace a_HitFace) override;
+ virtual void OnHitEntity (cEntity & a_EntityHit, Vector3d a_HitPos) override;
virtual void Tick (std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override
{
if (m_DestroyTimer > 0)
@@ -81,7 +81,7 @@ protected:
/** Splashes the potion, fires its particle effects and sounds
@param a_HitPos The position where the potion will splash */
- void Splash(const Vector3d & a_HitPos);
+ void Splash(Vector3d a_HitPos);
virtual void SpawnOn(cClientHandle & a_Client) override;