diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-22 14:46:55 +0100 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-22 14:46:55 +0100 |
commit | d7242414070aa823f879f225b0cf734f4a880759 (patch) | |
tree | 5a49a42221aca3ff37f901274ad60746f9747c40 /src/Entities/ProjectileEntity.h | |
parent | Merge branch 'master' of github.com:mc-server/MCServer (diff) | |
download | cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar.gz cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar.bz2 cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar.lz cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar.xz cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar.zst cuberite-d7242414070aa823f879f225b0cf734f4a880759.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/ProjectileEntity.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Entities/ProjectileEntity.h b/src/Entities/ProjectileEntity.h index e9e377fe0..4721409ee 100644 --- a/src/Entities/ProjectileEntity.h +++ b/src/Entities/ProjectileEntity.h @@ -52,7 +52,11 @@ public: virtual void OnHitSolidBlock(const Vector3d & a_HitPos, char 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, const Vector3d & a_HitPos) + { + UNUSED(a_EntityHit); + UNUSED(a_HitPos); + } /// Called by Chunk when the projectile is eligible for player collection virtual void CollectedBy(cPlayer * a_Dest); |