From 0aa2069c73671fdd99d55cbc7645ad589fbf8586 Mon Sep 17 00:00:00 2001 From: Brian Date: Mon, 21 Dec 2009 17:30:02 -0700 Subject: * 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 --- src/game/ObjectMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index 76c66dbd54a..d659561a889 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -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; -- cgit v1.2.3