diff options
author | click <click@gonnamakeyou.com> | 2011-07-02 22:18:03 +0200 |
---|---|---|
committer | click <click@gonnamakeyou.com> | 2011-07-02 22:18:03 +0200 |
commit | f91ee24184dffcd686d60dd07a1d19da3f5da818 (patch) | |
tree | 83d06dd9c18ca0d69c35e0937c14bdd83c3c98d9 /src/server/scripts/EasternKingdoms/wetlands.cpp | |
parent | 3ddc1cc4c40b757dd42b781552b483a047a6df64 (diff) |
Core: Start cleaning up hungarian notation - Phase1: pCreature -> creature
Diffstat (limited to 'src/server/scripts/EasternKingdoms/wetlands.cpp')
-rw-r--r-- | src/server/scripts/EasternKingdoms/wetlands.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/scripts/EasternKingdoms/wetlands.cpp b/src/server/scripts/EasternKingdoms/wetlands.cpp index b89aa63d166..e1546f1ad22 100644 --- a/src/server/scripts/EasternKingdoms/wetlands.cpp +++ b/src/server/scripts/EasternKingdoms/wetlands.cpp @@ -50,14 +50,14 @@ class npc_tapoke_slim_jahn : public CreatureScript public: npc_tapoke_slim_jahn() : CreatureScript("npc_tapoke_slim_jahn") { } - CreatureAI* GetAI(Creature* pCreature) const + CreatureAI* GetAI(Creature* creature) const { - return new npc_tapoke_slim_jahnAI(pCreature); + return new npc_tapoke_slim_jahnAI(creature); } struct npc_tapoke_slim_jahnAI : public npc_escortAI { - npc_tapoke_slim_jahnAI(Creature* pCreature) : npc_escortAI(pCreature) { } + npc_tapoke_slim_jahnAI(Creature* creature) : npc_escortAI(creature) { } bool m_bFriendSummoned; @@ -144,11 +144,11 @@ class npc_mikhail : public CreatureScript public: npc_mikhail() : CreatureScript("npc_mikhail") { } - bool OnQuestAccept(Player* pPlayer, Creature* pCreature, const Quest* pQuest) + bool OnQuestAccept(Player* pPlayer, Creature* creature, const Quest* pQuest) { if (pQuest->GetQuestId() == QUEST_MISSING_DIPLO_PT11) { - Creature* pSlim = pCreature->FindNearestCreature(NPC_TAPOKE_SLIM_JAHN, 25.0f); + Creature* pSlim = creature->FindNearestCreature(NPC_TAPOKE_SLIM_JAHN, 25.0f); if (!pSlim) return false; |