Typo on last commit

This commit is contained in:
Nevan
2011-09-02 01:26:35 +02:00
parent 6c0c151a9f
commit 5900c2dac8
@@ -830,7 +830,7 @@ class spell_power_of_the_twins : public SpellScriptLoader
if (InstanceScript* instance = GetCaster()->GetInstanceScript())
{
if (Creature* Valk = ObjectAccessor::GetCreature(*GetCaster(), instance->GetData64(GetCaster()->GetEntry())))
Valk->AI()->EnableDualWield(true);
CAST_AI(boss_twin_baseAI, Valk->AI())->EnableDualWield(true);
}
}
@@ -839,7 +839,7 @@ class spell_power_of_the_twins : public SpellScriptLoader
if (InstanceScript* instance = GetCaster()->GetInstanceScript())
{
if (Creature* Valk = ObjectAccessor::GetCreature(*GetCaster(), instance->GetData64(GetCaster()->GetEntry())))
Valk->AI()->EnableDualWield(false);
CAST_AI(boss_twin_baseAI, Valk->AI())->EnableDualWield(false);
}
}