aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Level3.cpp')
-rw-r--r--src/game/Level3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp
index d51db1d5a7a..6826d2bb53b 100644
--- a/src/game/Level3.cpp
+++ b/src/game/Level3.cpp
@@ -4382,7 +4382,7 @@ bool ChatHandler::HandleAuraCommand(const char* args)
eff_mask|=1<<i;
}
}
- Aura *Aur = new Aura(spellInfo, eff_mask, NULL, target);
+ Aura *Aur = new Aura(spellInfo, eff_mask, target, target, target);
target->AddAura(Aur);
}
@@ -7352,7 +7352,7 @@ bool ChatHandler::HandleFreezeCommand(const char *args)
//m_session->GetPlayer()->CastSpell(player,spellID,false);
SpellEntry const *spellInfo = sSpellStore.LookupEntry( 9454 );
- Aura *Aur = new Aura(spellInfo, 1, NULL, player);
+ Aura *Aur = new Aura(spellInfo, 1, player, player, player);
player->AddAura(Aur);
//save player