[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

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