[10588] Make GO type 8 activate and sparkle at related quest active

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

View file

@ -741,6 +741,12 @@ bool GameObject::ActivateToQuest( Player *pTarget)const
return true;
break;
}
case GAMEOBJECT_TYPE_SPELL_FOCUS:
{
if (pTarget->GetQuestStatus(GetGOInfo()->spellFocus.questID) == QUEST_STATUS_INCOMPLETE)
return true;
break;
}
case GAMEOBJECT_TYPE_GOOBER:
{
if(pTarget->GetQuestStatus(GetGOInfo()->goober.questId) == QUEST_STATUS_INCOMPLETE)