REPO: Code-style clean-ups
* Fixed pMap->map * Fixed pInstance->instance * Fixed pInsta->instance * Fixed pQuest->quest * Fixed pWho->who * Fixed pTarget->target * Fixed pGo->go ~DEVNOTES: Handlers/QuestHandler.cpp still needs to be cleaned...
This commit is contained in:
@@ -43,11 +43,11 @@ class npc_corporal_keeshan : public CreatureScript
|
||||
public:
|
||||
npc_corporal_keeshan() : CreatureScript("npc_corporal_keeshan") { }
|
||||
|
||||
bool OnQuestAccept(Player* player, Creature* creature, Quest const* pQuest)
|
||||
bool OnQuestAccept(Player* player, Creature* creature, Quest const* quest)
|
||||
{
|
||||
if (pQuest->GetQuestId() == QUEST_MISSING_IN_ACTION)
|
||||
if (quest->GetQuestId() == QUEST_MISSING_IN_ACTION)
|
||||
{
|
||||
CAST_AI(npc_corporal_keeshan::npc_corporal_keeshanAI, creature->AI())->Start(true, false, player->GetGUID(), pQuest);
|
||||
CAST_AI(npc_corporal_keeshan::npc_corporal_keeshanAI, creature->AI())->Start(true, false, player->GetGUID(), quest);
|
||||
DoScriptText(SAY_CORPORAL_1, creature);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user