mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
fixed build
This commit is contained in:
@@ -3127,11 +3127,11 @@ bool Map::CheckRespawn(RespawnInfo* info)
|
||||
}
|
||||
case SPAWN_TYPE_GAMEOBJECT:
|
||||
// gameobject check is simpler - they cannot be dead or escorting
|
||||
if (_gameobjectBySpawnIdStore.find(info->spawnId) != _gameobjectBySpawnIdStore.end())
|
||||
if (_gameObjectBySpawnIdStore.find(info->spawnId) != _gameObjectBySpawnIdStore.end())
|
||||
alreadyExists = true;
|
||||
break;
|
||||
default:
|
||||
ABORT_MSG("Invalid spawn type %u with spawnId %u on map %u", uint32(info->type), info->spawnId, GetId());
|
||||
ASSERT(false, "Invalid spawn type %u with spawnId %u on map %u", uint32(info->type), info->spawnId, GetId());
|
||||
return true;
|
||||
}
|
||||
if (alreadyExists)
|
||||
|
||||
@@ -859,6 +859,6 @@ void PoolMgr::UpdatePool(uint32 pool_id, SpawnObjectType type, uint32 spawnId)
|
||||
UpdatePool<GameObject>(pool_id, spawnId);
|
||||
break;
|
||||
default:
|
||||
ABORT_MSG("Invalid spawn type %u passed to PoolMgr::IsPartOfPool (with spawnId %u)", uint32(type), spawnId);
|
||||
ASSERT(false, "Invalid spawn type %u passed to PoolMgr::IsPartOfPool (with spawnId %u)", uint32(type), spawnId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user