Restore questgiver npcflag for Willix the Importer escort quest when you successfully complete it

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-05-25 19:08:54 +02:00
parent a9d50a6651
commit 6ba14cbc9e

View File

@@ -91,6 +91,7 @@ struct npc_willixAI : public npc_escortAI
break;
case 45:
DoScriptText(SAY_WIN, me, pPlayer);
me->SetFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_QUESTGIVER);
if (pPlayer && pPlayer->GetTypeId() == TYPEID_PLAYER)
CAST_PLR(pPlayer)->GroupEventHappens(QUEST_WILLIX_THE_IMPORTER,me);
break;