Fix coding style

This commit is contained in:
MrSmite
2012-04-06 12:33:34 -04:00
parent b843688fa8
commit cc03f2db36
-2
View File
@@ -3112,9 +3112,7 @@ void Spell::cast(bool skipCheck)
if (Pet* playerPet = playerCaster->GetPet())
{
if (playerPet->isAlive() && playerPet->isControlled() && (m_targets.GetTargetMask() & TARGET_FLAG_UNIT))
{
playerPet->AI()->OwnerAttacked(m_targets.GetObjectTarget()->ToUnit());
}
}
}
SetExecutedCurrently(true);