Merge branch 'Rochet2/questreward'

Close pull request #12657
This commit is contained in:
jackpoz
2014-08-24 14:38:16 +02:00
7 changed files with 15 additions and 24 deletions

View File

@@ -397,7 +397,7 @@ public:
return true;
}
bool OnQuestComplete(Player* /*player*/, Creature* creature, Quest const* quest) override
bool OnQuestReward(Player* /*player*/, Creature* creature, Quest const* quest, uint32 /*opt*/) override
{
if (quest->GetQuestId() == QUEST_CLUCK)
ENSURE_AI(npc_chicken_cluck::npc_chicken_cluckAI, creature->AI())->Reset();