aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorSubv <s.v.h21@hotmail.com>2012-04-07 21:09:04 -0500
committerSubv <s.v.h21@hotmail.com>2012-04-07 21:09:04 -0500
commitf8e9dedbe5e4e0d31106683276ff2f0e91120cc3 (patch)
tree7a1f2d0a1d794a3805786b448f416f750cc9103f /src/server/scripts
parentfd9c4d9c43331bc66df6b7da4e2520e4aea27f43 (diff)
Scripts/Spells: Removed redundant code for spell 54798.
Closes #519 Signed-off-by: Subv <s.v.h21@hotmail.com>
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Spells/spell_quest.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/scripts/Spells/spell_quest.cpp b/src/server/scripts/Spells/spell_quest.cpp
index 278abcc0c0b..48faf83cd2f 100644
--- a/src/server/scripts/Spells/spell_quest.cpp
+++ b/src/server/scripts/Spells/spell_quest.cpp
@@ -636,6 +636,10 @@ class spell_q12851_going_bearback : public SpellScriptLoader
if (Unit* caster = GetCaster())
{
Unit* target = GetTarget();
+ // Already in fire
+ if (target->HasAura(SPELL_ABLAZE))
+ return;
+
if (Player* player = caster->GetCharmerOrOwnerPlayerOrPlayerItself())
{
switch (target->GetEntry())