aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/hinterlands.cpp
diff options
context:
space:
mode:
authormegamage <none@none.none>2011-10-07 17:56:47 -0700
committermegamage <none@none.none>2011-10-07 17:56:47 -0700
commit679802ecf40ed3f970aff74f26d8bec5b288d81a (patch)
tree28ccad306faf876cf8b6f1bfdae6b0a9f2c8733e /src/server/scripts/EasternKingdoms/hinterlands.cpp
parent1e44044a8f21c36847bdc544dcf89f83b02b941a (diff)
parent5b4c7783c2a28e420cb4aaf4f2967083db8f6787 (diff)
Merge pull request #3400 from Bootz/master
REPO: Code-Style fixes... (Part duece)
Diffstat (limited to 'src/server/scripts/EasternKingdoms/hinterlands.cpp')
-rw-r--r--src/server/scripts/EasternKingdoms/hinterlands.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/server/scripts/EasternKingdoms/hinterlands.cpp b/src/server/scripts/EasternKingdoms/hinterlands.cpp
index 38fcf63b090..89adfee87c4 100644
--- a/src/server/scripts/EasternKingdoms/hinterlands.cpp
+++ b/src/server/scripts/EasternKingdoms/hinterlands.cpp
@@ -57,9 +57,9 @@ class npc_00x09hl : public CreatureScript
public:
npc_00x09hl() : CreatureScript("npc_00x09hl") { }
- bool OnQuestAccept(Player* player, Creature* creature, const Quest* pQuest)
+ bool OnQuestAccept(Player* player, Creature* creature, const Quest* quest)
{
- if (pQuest->GetQuestId() == QUEST_RESQUE_OOX_09)
+ if (quest->GetQuestId() == QUEST_RESQUE_OOX_09)
{
creature->SetStandState(UNIT_STAND_STATE_STAND);
@@ -71,7 +71,7 @@ public:
DoScriptText(SAY_OOX_START, creature, player);
if (npc_00x09hlAI* pEscortAI = CAST_AI(npc_00x09hl::npc_00x09hlAI, creature->AI()))
- pEscortAI->Start(false, false, player->GetGUID(), pQuest);
+ pEscortAI->Start(false, false, player->GetGUID(), quest);
}
return true;
}
@@ -191,15 +191,15 @@ class npc_rinji : public CreatureScript
public:
npc_rinji() : CreatureScript("npc_rinji") { }
- bool OnQuestAccept(Player* player, Creature* creature, const Quest* pQuest)
+ bool OnQuestAccept(Player* player, Creature* creature, const Quest* quest)
{
- if (pQuest->GetQuestId() == QUEST_RINJI_TRAPPED)
+ if (quest->GetQuestId() == QUEST_RINJI_TRAPPED)
{
- if (GameObject* pGo = creature->FindNearestGameObject(GO_RINJI_CAGE, INTERACTION_DISTANCE))
- pGo->UseDoorOrButton();
+ if (GameObject* go = creature->FindNearestGameObject(GO_RINJI_CAGE, INTERACTION_DISTANCE))
+ go->UseDoorOrButton();
if (npc_rinjiAI* pEscortAI = CAST_AI(npc_rinji::npc_rinjiAI, creature->AI()))
- pEscortAI->Start(false, false, player->GetGUID(), pQuest);
+ pEscortAI->Start(false, false, player->GetGUID(), quest);
}
return true;
}