aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/wetlands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/scripts/EasternKingdoms/wetlands.cpp')
-rw-r--r--src/server/scripts/EasternKingdoms/wetlands.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/scripts/EasternKingdoms/wetlands.cpp b/src/server/scripts/EasternKingdoms/wetlands.cpp
index f6d53d2bb51..cb5fa6782ac 100644
--- a/src/server/scripts/EasternKingdoms/wetlands.cpp
+++ b/src/server/scripts/EasternKingdoms/wetlands.cpp
@@ -144,9 +144,9 @@ class npc_mikhail : public CreatureScript
public:
npc_mikhail() : CreatureScript("npc_mikhail") { }
- bool OnQuestAccept(Player* player, Creature* creature, const Quest* pQuest)
+ bool OnQuestAccept(Player* player, Creature* creature, const Quest* quest)
{
- if (pQuest->GetQuestId() == QUEST_MISSING_DIPLO_PT11)
+ if (quest->GetQuestId() == QUEST_MISSING_DIPLO_PT11)
{
Creature* pSlim = creature->FindNearestCreature(NPC_TAPOKE_SLIM_JAHN, 25.0f);
@@ -157,7 +157,7 @@ public:
pSlim->CastSpell(pSlim, SPELL_STEALTH, true);
if (npc_tapoke_slim_jahn::npc_tapoke_slim_jahnAI* pEscortAI = CAST_AI(npc_tapoke_slim_jahn::npc_tapoke_slim_jahnAI, pSlim->AI()))
- pEscortAI->Start(false, false, player->GetGUID(), pQuest);
+ pEscortAI->Start(false, false, player->GetGUID(), quest);
}
return false;
}