diff options
-rw-r--r-- | src/Entities/ArrowEntity.cpp | 9 | ||||
-rw-r--r-- | src/Entities/ArrowEntity.h | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/Entities/ArrowEntity.cpp b/src/Entities/ArrowEntity.cpp index e2bc6ffe0..e72743b3a 100644 --- a/src/Entities/ArrowEntity.cpp +++ b/src/Entities/ArrowEntity.cpp @@ -195,3 +195,12 @@ void cArrowEntity::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) } } } + + + + + +bool cArrowEntity::DoesPreventBlockPlacement(void) const +{ + return false; +} diff --git a/src/Entities/ArrowEntity.h b/src/Entities/ArrowEntity.h index 6b6e5d010..2ddc43617 100644 --- a/src/Entities/ArrowEntity.h +++ b/src/Entities/ArrowEntity.h @@ -104,4 +104,7 @@ protected: virtual void CollectedBy(cPlayer & a_Player) override; virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; + // cEntity overrides: + virtual bool DoesPreventBlockPlacement(void) const override; + }; // tolua_export |