1
0

Mark UNREACHABLE with intrinsics

This commit is contained in:
Tiger Wang
2021-02-20 16:24:13 +00:00
parent 6aa1d13508
commit 81e299f00c
18 changed files with 27 additions and 56 deletions

View File

@@ -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");