[9638] Replace all C assert()s with MaNGOS ASSERT() macro.

This commit is contained in:
XTZGZoReX 2010-03-29 19:28:58 +02:00
parent 4443737005
commit 51fd11c92c
34 changed files with 121 additions and 121 deletions

View file

@ -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;
}