diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-09-08 15:39:40 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-09-08 15:39:40 +0200 |
commit | 9ab5627a393a0b178f13fbba2c39463cfe0675b8 (patch) | |
tree | 1f89501893f02a6e711e5a31868a8acdb4ca7de5 /src/Entities/WitherSkullEntity.cpp | |
parent | d (diff) | |
parent | Shutdown connection when disconnect packet sent (#3999) (diff) | |
download | cuberite-9ab5627a393a0b178f13fbba2c39463cfe0675b8.tar cuberite-9ab5627a393a0b178f13fbba2c39463cfe0675b8.tar.gz cuberite-9ab5627a393a0b178f13fbba2c39463cfe0675b8.tar.bz2 cuberite-9ab5627a393a0b178f13fbba2c39463cfe0675b8.tar.lz cuberite-9ab5627a393a0b178f13fbba2c39463cfe0675b8.tar.xz cuberite-9ab5627a393a0b178f13fbba2c39463cfe0675b8.tar.zst cuberite-9ab5627a393a0b178f13fbba2c39463cfe0675b8.zip |
Diffstat (limited to 'src/Entities/WitherSkullEntity.cpp')
-rw-r--r-- | src/Entities/WitherSkullEntity.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/WitherSkullEntity.cpp b/src/Entities/WitherSkullEntity.cpp index cbf3d7ae9..a82ea8e7a 100644 --- a/src/Entities/WitherSkullEntity.cpp +++ b/src/Entities/WitherSkullEntity.cpp @@ -25,7 +25,7 @@ cWitherSkullEntity::cWitherSkullEntity(cEntity * a_Creator, double a_X, double a -void cWitherSkullEntity::OnHitSolidBlock(const Vector3d & a_HitPos, eBlockFace a_HitFace) +void cWitherSkullEntity::OnHitSolidBlock(Vector3d a_HitPos, eBlockFace a_HitFace) { // TODO: Explode // TODO: Apply wither effect to entities nearby @@ -36,7 +36,7 @@ void cWitherSkullEntity::OnHitSolidBlock(const Vector3d & a_HitPos, eBlockFace a -void cWitherSkullEntity::OnHitEntity(cEntity & a_EntityHit, const Vector3d & a_HitPos) +void cWitherSkullEntity::OnHitEntity(cEntity & a_EntityHit, Vector3d a_HitPos) { // TODO: If entity is Ender Crystal, destroy it a_EntityHit.TakeDamage(dtRangedAttack, this, 0, 1); |