diff options
author | Shocker <shocker@freakz.ro> | 2012-03-30 14:49:44 -0700 |
---|---|---|
committer | Shocker <shocker@freakz.ro> | 2012-03-30 14:49:44 -0700 |
commit | b2924379894d26528d360e6c5eba401428f9a285 (patch) | |
tree | b41cf71d1f9a67b3abe568f4fcf2faf1d1f255e6 /src/server/scripts/EasternKingdoms/hinterlands.cpp | |
parent | 3fb947d955c604000df0ec26ed80060d315c41d7 (diff) | |
parent | ba2ee48fc6ddd7e9c965690c97c669cb69ccf30e (diff) |
Merge pull request #5933 from GyxTom/master
Core/Misc: Code style and remove unused define
Diffstat (limited to 'src/server/scripts/EasternKingdoms/hinterlands.cpp')
-rw-r--r-- | src/server/scripts/EasternKingdoms/hinterlands.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/server/scripts/EasternKingdoms/hinterlands.cpp b/src/server/scripts/EasternKingdoms/hinterlands.cpp index f217cb2a0dd..8de895cb51f 100644 --- a/src/server/scripts/EasternKingdoms/hinterlands.cpp +++ b/src/server/scripts/EasternKingdoms/hinterlands.cpp @@ -87,9 +87,9 @@ public: void Reset() { } - void WaypointReached(uint32 uiPointId) + void WaypointReached(uint32 waypointId) { - switch (uiPointId) + switch (waypointId) { case 26: DoScriptText(SAY_OOX_AMBUSH, me); @@ -276,14 +276,13 @@ public: 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) + void WaypointReached(uint32 waypointId) { Player* player = GetPlayerForEscort(); - if (!player) return; - switch (uiPointId) + switch (waypointId) { case 1: DoScriptText(SAY_RIN_FREE, me, player); |