aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/hinterlands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/scripts/EasternKingdoms/hinterlands.cpp')
-rw-r--r--src/server/scripts/EasternKingdoms/hinterlands.cpp9
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);