Core/Commands: The .setskill command is now usable even if the player doesn't already have the skill learned.

This commit is contained in:
Discover-
2014-01-18 01:05:03 +01:00
parent bbd84d211d
commit 735cebf7a3
2 changed files with 10 additions and 12 deletions

View File

@@ -5072,6 +5072,7 @@ void Spell::EffectResurrectPet(SpellEffIndex /*effIndex*/)
hadPet = false;
}
// TODO: Better to fail Hunter's "Revive Pet" at cast instead of here when casting ends
Pet* pet = player->GetPet(); // Attempt to get current pet
if (!pet || pet->IsAlive())
return;