Core: Fix warnings

This commit is contained in:
Vincent-Michael
2013-08-18 13:54:20 +02:00
parent 7dbf68cbfc
commit 9eb01d63bd
2 changed files with 3 additions and 4 deletions

View File

@@ -149,7 +149,6 @@ class spell_hun_ascpect_of_the_viper : public SpellScriptLoader
void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
{
// Hunter T7 4P Bonus
Unit* target = GetTarget();
if (GetTarget()->HasAura(SPELL_HUNTER_VIPER_ATTACK_SPEED))
GetTarget()->RemoveAurasDueToSpell(SPELL_HUNTER_VICIOUS_VIPER);
}