mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 01:37:01 +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
|
|
@ -276,8 +276,8 @@ void PoolGroup<T>::SpawnObject(SpawnedPoolData& spawns, uint32 limit, uint32 tri
|
|||
|
||||
if (obj->guid == triggerFrom)
|
||||
{
|
||||
assert(spawns.IsSpawnedObject<T>(obj->guid));
|
||||
assert(spawns.GetSpawnedObjects(poolId) > 0);
|
||||
ASSERT(spawns.IsSpawnedObject<T>(obj->guid));
|
||||
ASSERT(spawns.GetSpawnedObjects(poolId) > 0);
|
||||
ReSpawn1Object(obj);
|
||||
triggerFrom = 0;
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue