diff options
-rw-r--r-- | src/game/Spell.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 248a390c0b8..bad60d69cfd 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -5029,10 +5029,8 @@ SpellCastResult Spell::CheckCast(bool strict) return SPELL_FAILED_TARGET_UNSKINNABLE; Creature* creature = m_targets.getUnitTarget()->ToCreature(); - if ( creature->GetCreatureType() != CREATURE_TYPE_CRITTER && ( !creature->lootForBody || !creature->loot.empty() ) ) - { + if (creature->GetCreatureType() != CREATURE_TYPE_CRITTER && !creature->loot.isLooted()) return SPELL_FAILED_TARGET_NOT_LOOTED; - } uint32 skill = creature->GetCreatureInfo()->GetRequiredLootSkill(); |