Scripts/Spells: Removed redundant code for spell 54798.

Closes #519

Signed-off-by: Subv <s.v.h21@hotmail.com>
This commit is contained in:
Subv
2012-04-07 21:09:04 -05:00
parent fd9c4d9c43
commit f8e9dedbe5
2 changed files with 4 additions and 15 deletions

View File

@@ -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())