diff options
author | Mattes D <github@xoft.cz> | 2016-08-02 13:12:34 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-08-04 20:47:53 +0200 |
commit | d1dee3c9092b7c270b297366757c9fc8d03bb0dd (patch) | |
tree | ccbb0e62481ce4944107294200c948f835494fe0 /src/Entities/Entity.cpp | |
parent | Merge pull request #3293 from LogicParrot/blockArea (diff) | |
download | cuberite-d1dee3c9092b7c270b297366757c9fc8d03bb0dd.tar cuberite-d1dee3c9092b7c270b297366757c9fc8d03bb0dd.tar.gz cuberite-d1dee3c9092b7c270b297366757c9fc8d03bb0dd.tar.bz2 cuberite-d1dee3c9092b7c270b297366757c9fc8d03bb0dd.tar.lz cuberite-d1dee3c9092b7c270b297366757c9fc8d03bb0dd.tar.xz cuberite-d1dee3c9092b7c270b297366757c9fc8d03bb0dd.tar.zst cuberite-d1dee3c9092b7c270b297366757c9fc8d03bb0dd.zip |
Diffstat (limited to 'src/Entities/Entity.cpp')
-rw-r--r-- | src/Entities/Entity.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp index 98be99a27..2adbc3142 100644 --- a/src/Entities/Entity.cpp +++ b/src/Entities/Entity.cpp @@ -741,7 +741,9 @@ bool cEntity::ArmorCoversAgainst(eDamageType a_DamageType) } } ASSERT(!"Invalid damage type!"); - return false; + #ifndef __clang__ + return false; + #endif } |