aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuraEffects.cpp
diff options
context:
space:
mode:
authorTrazom62 <none@none>2010-03-14 00:22:53 +0100
committerTrazom62 <none@none>2010-03-14 00:22:53 +0100
commit6fdaf225f3bb9ce84e74f40e56727ccfea729a38 (patch)
tree381d341248fc721a4f9255c5756736560caaea54 /src/game/SpellAuraEffects.cpp
parent274268a68643c949cd914229fe31e98dc4c862c4 (diff)
Fix creature tapped and lootable dynamic flags => fix creature not lootable.
Fixes issue #1067. --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuraEffects.cpp')
-rw-r--r--src/game/SpellAuraEffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellAuraEffects.cpp b/src/game/SpellAuraEffects.cpp
index 18377b86541..51e6a7fe4f6 100644
--- a/src/game/SpellAuraEffects.cpp
+++ b/src/game/SpellAuraEffects.cpp
@@ -6005,7 +6005,7 @@ void AuraEffect::HandleChannelDeathItem(AuraApplication const * aurApp, uint8 mo
// Soul Shard only from non-grey units
if( GetSpellProto()->EffectItemType[m_effIndex] == 6265 &&
(target->getLevel() <= Trinity::XP::GetGrayLevel(caster->getLevel()) ||
- target->GetTypeId() == TYPEID_UNIT && !caster->ToPlayer()->isAllowedToLoot(target->ToCreature())) )
+ target->GetTypeId() == TYPEID_UNIT && !target->ToCreature()->isTappedBy(caster->ToPlayer())) )
return;
//Adding items
uint32 noSpaceForCount = 0;