[10587] Make GO type 5 sparkle at related quest active

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-10-08 09:09:59 +02:00
parent 41a82beb3f
commit 657894786a
4 changed files with 20 additions and 1 deletions

View file

@ -7733,6 +7733,15 @@ void ObjectMgr::LoadGameObjectForQuests()
}
break;
}
case GAMEOBJECT_TYPE_GENERIC:
{
if (goInfo->_generic.questID) // quest related objects, has visual effects
{
mGameObjectForQuestSet.insert(go_entry);
count++;
}
break;
}
case GAMEOBJECT_TYPE_GOOBER:
{
if(goInfo->goober.questId) //quests objects