aboutsummaryrefslogtreecommitdiff
path: root/src/game/Item.cpp
diff options
context:
space:
mode:
authormaximius <none@none>2009-12-18 13:41:30 -0800
committermaximius <none@none>2009-12-18 13:41:30 -0800
commitdc1207139ac3a6bccd918ddb5d291df98ac1cf33 (patch)
treefc13f86b6c09f449ccc319c3d321f1e87dafa8d6 /src/game/Item.cpp
parent89464472a97fcba60e4ad7682a44f8106cc64ecd (diff)
*Cleanup, proper indentation, and remove some wrong/irrelevant comments copied from custom patches..
--HG-- branch : trunk
Diffstat (limited to 'src/game/Item.cpp')
-rw-r--r--src/game/Item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Item.cpp b/src/game/Item.cpp
index 05c1adec795..d00e4d535d3 100644
--- a/src/game/Item.cpp
+++ b/src/game/Item.cpp
@@ -759,7 +759,7 @@ uint32 Item::GetEnchantRequiredLevel() const
bool Item::IsBoundByEnchant() const
{
// Check all enchants for soulbound
- for (uint32 enchant_slot = PERM_ENCHANTMENT_SLOT; enchant_slot < MAX_ENCHANTMENT_SLOT; ++enchant_slot)
+ for (uint32 enchant_slot = PERM_ENCHANTMENT_SLOT; enchant_slot < MAX_ENCHANTMENT_SLOT; ++enchant_slot)
if (uint32 enchant_id = GetEnchantmentId(EnchantmentSlot(enchant_slot)))
if (SpellItemEnchantmentEntry const* enchantEntry = sSpellItemEnchantmentStore.LookupEntry(enchant_id))
if (enchantEntry->slot & ENCHANTMENT_CAN_SOULBOUND)