summaryrefslogtreecommitdiffstats
path: root/src/Entities/ProjectileEntity.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/ProjectileEntity.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 '')
-rw-r--r--src/Entities/ProjectileEntity.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/ProjectileEntity.h b/src/Entities/ProjectileEntity.h
index da8c650f5..36f53c841 100644
--- a/src/Entities/ProjectileEntity.h
+++ b/src/Entities/ProjectileEntity.h
@@ -49,10 +49,10 @@ public:
static std::unique_ptr<cProjectileEntity> Create(eKind a_Kind, cEntity * a_Creator, double a_X, double a_Y, double a_Z, const cItem * a_Item, const Vector3d * a_Speed = nullptr);
/** Called by the physics blocktracer when the entity hits a solid block, the hit position and the face hit (BLOCK_FACE_) is given */
- virtual void OnHitSolidBlock(const Vector3d & a_HitPos, eBlockFace a_HitFace);
+ virtual void OnHitSolidBlock(Vector3d a_HitPos, eBlockFace a_HitFace);
/** Called by the physics blocktracer when the entity hits another entity */
- virtual void OnHitEntity(cEntity & a_EntityHit, const Vector3d & a_HitPos);
+ virtual void OnHitEntity(cEntity & a_EntityHit, Vector3d a_HitPos);
/** Called by Chunk when the projectile is eligible for player collection */
virtual void CollectedBy(cPlayer & a_Dest);