diff options
author | click <click@gonnamakeyou.com> | 2011-07-03 00:28:03 +0200 |
---|---|---|
committer | click <click@gonnamakeyou.com> | 2011-07-03 00:28:03 +0200 |
commit | 1aff85f541240714b80177bc8c2ee68c1814ad39 (patch) | |
tree | 9d8ddc159b1ce803089309da0b427303b724aa7a /src/server/scripts/EasternKingdoms/hinterlands.cpp | |
parent | 354e5e2bbcd6719a63686601f79a78001d90cb35 (diff) |
Core: Cleaning up hungarian notation - Phase8: pSummon -> summon (also did related hits)
Diffstat (limited to 'src/server/scripts/EasternKingdoms/hinterlands.cpp')
-rw-r--r-- | src/server/scripts/EasternKingdoms/hinterlands.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/scripts/EasternKingdoms/hinterlands.cpp b/src/server/scripts/EasternKingdoms/hinterlands.cpp index 1296a7a6159..df8b909976d 100644 --- a/src/server/scripts/EasternKingdoms/hinterlands.cpp +++ b/src/server/scripts/EasternKingdoms/hinterlands.cpp @@ -141,9 +141,9 @@ public: DoScriptText(SAY_OOX_AGGRO2, me); } - void JustSummoned(Creature* pSummoned) + void JustSummoned(Creature* summoned) { - pSummoned->GetMotionMaster()->MovePoint(0, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ()); + summoned->GetMotionMaster()->MovePoint(0, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ()); } }; @@ -271,10 +271,10 @@ public: } } - void JustSummoned(Creature* pSummoned) + void JustSummoned(Creature* summoned) { - pSummoned->RemoveUnitMovementFlag(MOVEMENTFLAG_WALKING); - pSummoned->GetMotionMaster()->MovePoint(0, m_afAmbushMoveTo[m_iSpawnId].m_fX, m_afAmbushMoveTo[m_iSpawnId].m_fY, m_afAmbushMoveTo[m_iSpawnId].m_fZ); + summoned->RemoveUnitMovementFlag(MOVEMENTFLAG_WALKING); + summoned->GetMotionMaster()->MovePoint(0, m_afAmbushMoveTo[m_iSpawnId].m_fX, m_afAmbushMoveTo[m_iSpawnId].m_fY, m_afAmbushMoveTo[m_iSpawnId].m_fZ); } void WaypointReached(uint32 uiPointId) |