diff options
author | click <none@none> | 2010-07-04 15:55:05 +0200 |
---|---|---|
committer | click <none@none> | 2010-07-04 15:55:05 +0200 |
commit | 079b945a7dff0dcc46d932ab929b7fe6c64c8c03 (patch) | |
tree | a862fa5b2dab3b5a71d308a5749538820cd0034f /src/server/scripts/EasternKingdoms/wetlands.cpp | |
parent | 599d957a263a722341aba4459ae2e5a2e2ed1a02 (diff) |
Use RemoveAurasByType() and not RemoveAuraDueToSpell() to remove iterated spellauras of a type - DueTospell() expects singular spellID
Thanks to Azazel for the heads up
--HG--
branch : trunk
Diffstat (limited to 'src/server/scripts/EasternKingdoms/wetlands.cpp')
-rw-r--r-- | src/server/scripts/EasternKingdoms/wetlands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/EasternKingdoms/wetlands.cpp b/src/server/scripts/EasternKingdoms/wetlands.cpp index 012792902a6..71ef6884449 100644 --- a/src/server/scripts/EasternKingdoms/wetlands.cpp +++ b/src/server/scripts/EasternKingdoms/wetlands.cpp @@ -62,7 +62,7 @@ struct npc_tapoke_slim_jahnAI : public npc_escortAI { case 2: if (me->HasStealthAura()) - me->RemoveAurasDueToSpell(SPELL_AURA_MOD_STEALTH); + me->RemoveAurasByType(SPELL_AURA_MOD_STEALTH); SetRun(); me->setFaction(FACTION_ENEMY); |