diff options
author | Mattes D <github@xoft.cz> | 2016-08-04 21:04:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-04 21:04:03 +0200 |
commit | ad9fc1767321fc0bd11aaa85f4e5d81177cca7cc (patch) | |
tree | ccbb0e62481ce4944107294200c948f835494fe0 /src/Entities/ArrowEntity.cpp | |
parent | Merge pull request #3293 from LogicParrot/blockArea (diff) | |
parent | Fixed RasPi builds of unit tests. (diff) | |
download | cuberite-ad9fc1767321fc0bd11aaa85f4e5d81177cca7cc.tar cuberite-ad9fc1767321fc0bd11aaa85f4e5d81177cca7cc.tar.gz cuberite-ad9fc1767321fc0bd11aaa85f4e5d81177cca7cc.tar.bz2 cuberite-ad9fc1767321fc0bd11aaa85f4e5d81177cca7cc.tar.lz cuberite-ad9fc1767321fc0bd11aaa85f4e5d81177cca7cc.tar.xz cuberite-ad9fc1767321fc0bd11aaa85f4e5d81177cca7cc.tar.zst cuberite-ad9fc1767321fc0bd11aaa85f4e5d81177cca7cc.zip |
Diffstat (limited to 'src/Entities/ArrowEntity.cpp')
-rw-r--r-- | src/Entities/ArrowEntity.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Entities/ArrowEntity.cpp b/src/Entities/ArrowEntity.cpp index 380af101c..59d742f8d 100644 --- a/src/Entities/ArrowEntity.cpp +++ b/src/Entities/ArrowEntity.cpp @@ -67,7 +67,9 @@ bool cArrowEntity::CanPickup(const cPlayer & a_Player) const case psInCreative: return a_Player.IsGameModeCreative(); } ASSERT(!"Unhandled pickup state"); - return false; + #ifndef __clang__ + return false; + #endif } |