mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 07:37:02 +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
|
|
@ -99,7 +99,7 @@ void MapManager::checkAndCorrectGridStatesArray()
|
|||
if(!ok)
|
||||
++i_GridStateErrorCount;
|
||||
if(i_GridStateErrorCount > 2)
|
||||
assert(false); // force a crash. Too many errors
|
||||
ASSERT(false); // force a crash. Too many errors
|
||||
}
|
||||
|
||||
Map*
|
||||
|
|
@ -123,7 +123,7 @@ MapManager::_createBaseMap(uint32 id)
|
|||
i_maps[id] = m;
|
||||
}
|
||||
|
||||
assert(m != NULL);
|
||||
ASSERT(m != NULL);
|
||||
return m;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue