mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
* Added support for GAMEOBJECT_TYPE_TRAP and GAMEOBJECT_TYPE_SPELL_FOCUS to
* have modelid=0 since this is valid data for those GO types. More to the * point removed the check at core load that resulted in an error being logged --HG-- branch : trunk
This commit is contained in:
@@ -1575,7 +1575,7 @@ void ObjectMgr::LoadGameobjects()
|
||||
continue;
|
||||
}
|
||||
|
||||
if(!gInfo->displayId)
|
||||
if(!gInfo->displayId && (!gInfo->type == GAMEOBJECT_TYPE_TRAP || !gInfo->type == GAMEOBJECT_TYPE_SPELL_FOCUS))
|
||||
{
|
||||
sLog.outErrorDb("Gameobject (GUID: %u Entry %u GoType: %u) doesn't have displayId (%u), not loaded.", guid, entry, gInfo->type, gInfo->displayId);
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user