You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!_transportMaps.count(data.mapid) && data.spawnMask & ~spawnMasks[data.mapid])
2426
-
LOG_ERROR("sql.sql", "Table `creature` have creature (SpawnId: {}) that have wrong spawn mask {} including not supported difficulty modes for map (Id: {}).",
2427
-
spawnId, data.spawnMask, data.mapid);
2425
+
if (!_transportMaps.count(data.mapid))
2426
+
{
2427
+
if (data.spawnMask & ~spawnMasks[data.mapid])
2428
+
LOG_ERROR("sql.sql", "Table `creature` have creature (SpawnId: {}) that have wrong spawn mask {} including not supported difficulty modes for map (Id: {}).",
2429
+
spawnId, data.spawnMask, data.mapid);
2430
+
}
2431
+
else
2432
+
data.spawnGroupId = 1; // force compatibility group for transport spawns
if (!_transportMaps.count(data.mapid) && data.spawnMask & ~spawnMasks[data.mapid])
2959
-
LOG_ERROR("sql.sql", "Table `gameobject` has gameobject (GUID: {} Entry: {}) that has wrong spawn mask {} including not supported difficulty modes for map (Id: {}), skip", guid, data.id, data.spawnMask, data.mapid);
2963
+
if (!_transportMaps.count(data.mapid))
2964
+
{
2965
+
if (data.spawnMask & ~spawnMasks[data.mapid])
2966
+
LOG_ERROR("sql.sql", "Table `gameobject` has gameobject (GUID: {} Entry: {}) that has wrong spawn mask {} including not supported difficulty modes for map (Id: {}), skip", guid, data.id, data.spawnMask, data.mapid);
2967
+
}
2968
+
else
2969
+
data.spawnGroupId = 1; // force compatibility group for transport spawns
0 commit comments