mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
fixed some warnings
This commit is contained in:
@@ -757,12 +757,12 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const
|
||||
CreatureAI* GetAI(Creature* creature) const override
|
||||
{
|
||||
return new npc_chicken_cluckAI(creature);
|
||||
}
|
||||
|
||||
bool OnQuestAccept(Player* /*player*/, Creature* creature, Quest const* quest)
|
||||
bool OnQuestAccept(Player* /*player*/, Creature* creature, Quest const* quest) override
|
||||
{
|
||||
if (quest->GetQuestId() == QUEST_CLUCK)
|
||||
CAST_AI(npc_chicken_cluck::npc_chicken_cluckAI, creature->AI())->Reset();
|
||||
|
||||
Reference in New Issue
Block a user