Core/WorldPacket: Add support for generic (type 5) GOs sparkling if objective
of quest. Author: NoFantasy --HG-- branch : trunk
This commit is contained in:
@@ -872,6 +872,12 @@ bool GameObject::ActivateToQuest(Player *pTarget) const
|
||||
}
|
||||
break;
|
||||
}
|
||||
case GAMEOBJECT_TYPE_GENERIC:
|
||||
{
|
||||
if (pTarget->GetQuestStatus(GetGOInfo()->_generic.questID) == QUEST_STATUS_INCOMPLETE || GetGOInfo()->_generic.questID == -1)
|
||||
return true;
|
||||
break;
|
||||
}
|
||||
case GAMEOBJECT_TYPE_GOOBER:
|
||||
{
|
||||
if (pTarget->GetQuestStatus(GetGOInfo()->goober.questId) == QUEST_STATUS_INCOMPLETE || GetGOInfo()->goober.questId == -1)
|
||||
|
||||
Reference in New Issue
Block a user