Core/Common: Replace ASSERT(false, "...") with ABORT_MSG("...")

(cherry picked from commit 54c701cf0d)
This commit is contained in:
jackpoz
2020-06-26 23:28:33 +02:00
committed by Shauren
parent f7c1ae01f8
commit 68faf5bc4b
18 changed files with 50 additions and 50 deletions

View File

@@ -802,7 +802,7 @@ uint32 PoolMgr::IsPartOfAPool(SpawnObjectType type, ObjectGuid::LowType spawnId)
case SPAWN_TYPE_AREATRIGGER:
return 0;
default:
ASSERT(false, "Invalid spawn type %u passed to PoolMgr::IsPartOfPool (with spawnId " UI64FMTD ")", uint32(type), spawnId);
ABORT_MSG("Invalid spawn type %u passed to PoolMgr::IsPartOfPool (with spawnId " UI64FMTD ")", uint32(type), spawnId);
return 0;
}
}