summaryrefslogtreecommitdiffstats
path: root/src/BlockID.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/BlockID.cpp')
-rw-r--r--src/BlockID.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/BlockID.cpp b/src/BlockID.cpp
index a6f846911..acba8db27 100644
--- a/src/BlockID.cpp
+++ b/src/BlockID.cpp
@@ -388,12 +388,7 @@ AString DamageTypeToString(eDamageType a_DamageType)
case dtSuffocating: return "dtSuffocation";
case dtExplosion: return "dtExplosion";
}
-
- // Unknown damage type:
- ASSERT(!"Unknown DamageType");
- #ifndef __clang__
- return Printf("dtUnknown_%d", static_cast<int>(a_DamageType));
- #endif
+ UNREACHABLE("Unsupported damage type");
}