mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-02 23:26:37 +01:00
Core/Spells: fix build and typo from previous commit
This commit is contained in:
@@ -342,7 +342,7 @@ class spell_dk_death_pact : public SpellScriptLoader
|
||||
if (Creature* undeadPet = (*itr)->ToCreature())
|
||||
if (undeadPet->isAlive() &&
|
||||
undeadPet->GetOwnerGUID() == player->GetGUID() &&
|
||||
undeadPet->GetCreatureInfo()->type == CREATURE_TYPE_UNDEAD &&
|
||||
undeadPet->GetCreatureType() == CREATURE_TYPE_UNDEAD &&
|
||||
undeadPet->IsWithinDist(player, 100.0f, false))
|
||||
return SPELL_CAST_OK;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user