Core/WorldPacket: Add support for generic (type 5) GOs sparkling if objective

of quest.
Author: NoFantasy

--HG--
branch : trunk
This commit is contained in:
runningnak3d
2010-10-06 16:36:50 -06:00
parent 9e322ce69f
commit 89833567d2
3 changed files with 19 additions and 0 deletions
+9
View File
@@ -7876,6 +7876,15 @@ void ObjectMgr::LoadGameObjectForQuests()
}
break;
}
case GAMEOBJECT_TYPE_GENERIC:
{
if (goInfo->_generic.questID) //quests objects
{
mGameObjectForQuestSet.insert(go_entry);
count++;
}
break;
}
case GAMEOBJECT_TYPE_GOOBER:
{
if (goInfo->goober.questId) //quests objects