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/wetlands.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/wetlands.cpp')
-rw-r--r-- | src/server/scripts/EasternKingdoms/wetlands.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/server/scripts/EasternKingdoms/wetlands.cpp b/src/server/scripts/EasternKingdoms/wetlands.cpp index e89b8fd7fba..bf28d9838a4 100644 --- a/src/server/scripts/EasternKingdoms/wetlands.cpp +++ b/src/server/scripts/EasternKingdoms/wetlands.cpp @@ -67,14 +67,13 @@ public: m_bFriendSummoned = false; } - void WaypointReached(uint32 uiPointId) + void WaypointReached(uint32 waypointId) { - switch (uiPointId) + switch (waypointId) { case 2: if (me->HasStealthAura()) me->RemoveAurasByType(SPELL_AURA_MOD_STEALTH); - SetRun(); me->setFaction(FACTION_ENEMY); break; |