Copyright header updates - part 3... (and some whitespace cleanups)

--HG--
branch : trunk
This commit is contained in:
click
2010-10-07 14:00:52 +02:00
parent df66aee929
commit a67d7c9afd
59 changed files with 931 additions and 938 deletions

View File

@@ -3421,7 +3421,7 @@ void Spell::EffectEnchantItemPerm(SpellEffIndex effIndex)
SpellItemEnchantmentEntry const *pEnchant = sSpellItemEnchantmentStore.LookupEntry(enchant_id);
if (!pEnchant)
return;
// item can be in trade slot and have owner diff. from caster
Player* item_owner = itemTarget->GetOwner();
if (!item_owner)