mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 22:37:04 +00:00
[9638] Replace all C assert()s with MaNGOS ASSERT() macro.
This commit is contained in:
parent
4443737005
commit
51fd11c92c
34 changed files with 121 additions and 121 deletions
|
|
@ -170,12 +170,12 @@ InstanceMap* MapInstanced::CreateInstance(uint32 InstanceId, InstanceSave *save,
|
|||
if (!sMapStore.LookupEntry(GetId()))
|
||||
{
|
||||
sLog.outError("CreateInstance: no entry for map %d", GetId());
|
||||
assert(false);
|
||||
ASSERT(false);
|
||||
}
|
||||
if (!ObjectMgr::GetInstanceTemplate(GetId()))
|
||||
{
|
||||
sLog.outError("CreateInstance: no instance template for map %d", GetId());
|
||||
assert(false);
|
||||
ASSERT(false);
|
||||
}
|
||||
|
||||
// some instances only have one difficulty
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue