diff options
Diffstat (limited to '')
-rw-r--r-- | src/BlockID.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/BlockID.cpp b/src/BlockID.cpp index 357f6a5a4..a558db2f7 100644 --- a/src/BlockID.cpp +++ b/src/BlockID.cpp @@ -392,7 +392,9 @@ AString DamageTypeToString(eDamageType a_DamageType) // Unknown damage type: ASSERT(!"Unknown DamageType"); - return Printf("dtUnknown_%d", static_cast<int>(a_DamageType)); + #ifndef __clang__ + return Printf("dtUnknown_%d", static_cast<int>(a_DamageType)); + #endif } |