[10731] Remove redundant isAlive-check, thanks LordJZ for notice

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-11-17 19:09:14 +01:00
parent cfbfae7f40
commit bd48d3cdc9
2 changed files with 1 additions and 4 deletions

View file

@ -5380,9 +5380,6 @@ SpellCastResult Spell::CheckPetCast(Unit* target)
if(_target) //for target dead/target not valid
{
if(!_target->isAlive())
return SPELL_FAILED_BAD_TARGETS;
if (!_target->isTargetableForAttack())
return SPELL_FAILED_BAD_TARGETS; // guessed error