summaryrefslogtreecommitdiffstats
path: root/src/MobCensus.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-02-20 17:24:13 +0100
committerTiger Wang <ziwei.tiger@outlook.com>2021-02-20 18:46:02 +0100
commit81e299f00ce3df587166ccc94f5997555cce5210 (patch)
treed5954c7f5756b67b2c6c1f7c6f2b635f5337eef2 /src/MobCensus.cpp
parentClang 7? (diff)
downloadcuberite-81e299f00ce3df587166ccc94f5997555cce5210.tar
cuberite-81e299f00ce3df587166ccc94f5997555cce5210.tar.gz
cuberite-81e299f00ce3df587166ccc94f5997555cce5210.tar.bz2
cuberite-81e299f00ce3df587166ccc94f5997555cce5210.tar.lz
cuberite-81e299f00ce3df587166ccc94f5997555cce5210.tar.xz
cuberite-81e299f00ce3df587166ccc94f5997555cce5210.tar.zst
cuberite-81e299f00ce3df587166ccc94f5997555cce5210.zip
Diffstat (limited to 'src/MobCensus.cpp')
-rw-r--r--src/MobCensus.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/MobCensus.cpp b/src/MobCensus.cpp
index 1069a964e..8f5fdde75 100644
--- a/src/MobCensus.cpp
+++ b/src/MobCensus.cpp
@@ -41,8 +41,7 @@ int cMobCensus::GetCapMultiplier(cMonster::eFamily a_MobFamily)
case cMonster::mfNoSpawn:
case cMonster::mfUnhandled:
{
- ASSERT(!"Unhandled mob family");
- return -1;
+ break;
}
}
UNREACHABLE("Unsupported mob family");