diff options
author | andrew <xdotftw@gmail.com> | 2014-05-21 09:59:14 +0200 |
---|---|---|
committer | andrew <xdotftw@gmail.com> | 2014-05-21 09:59:14 +0200 |
commit | 7aeb8ce9936e8ebd203d67100de8635d391bd8a1 (patch) | |
tree | 96463d7a34231439a088db38305aad1ef4f26087 /src/Blocks/BlockMobHead.h | |
parent | Cleaned up cPlayer::UpdateMovementStats; Wither achievements (diff) | |
download | cuberite-7aeb8ce9936e8ebd203d67100de8635d391bd8a1.tar cuberite-7aeb8ce9936e8ebd203d67100de8635d391bd8a1.tar.gz cuberite-7aeb8ce9936e8ebd203d67100de8635d391bd8a1.tar.bz2 cuberite-7aeb8ce9936e8ebd203d67100de8635d391bd8a1.tar.lz cuberite-7aeb8ce9936e8ebd203d67100de8635d391bd8a1.tar.xz cuberite-7aeb8ce9936e8ebd203d67100de8635d391bd8a1.tar.zst cuberite-7aeb8ce9936e8ebd203d67100de8635d391bd8a1.zip |
Diffstat (limited to 'src/Blocks/BlockMobHead.h')
-rw-r--r-- | src/Blocks/BlockMobHead.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Blocks/BlockMobHead.h b/src/Blocks/BlockMobHead.h index 552c0491c..b7629b07c 100644 --- a/src/Blocks/BlockMobHead.h +++ b/src/Blocks/BlockMobHead.h @@ -55,6 +55,7 @@ public: virtual bool Item(cPlayer * a_Player) { + // TODO 2014-05-21 xdot: Vanilla minecraft uses an AABB check instead of a radius one double Dist = (a_Player->GetPosition() - m_Pos).Length(); if (Dist < 50.0) { |