diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2021-02-20 17:24:13 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2021-02-20 18:46:02 +0100 |
commit | 81e299f00ce3df587166ccc94f5997555cce5210 (patch) | |
tree | d5954c7f5756b67b2c6c1f7c6f2b635f5337eef2 /src/MobCensus.cpp | |
parent | Clang 7? (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/MobCensus.cpp | 3 |
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"); |