Core/Misc: Fix logic fail in7770c820979ef1f49e8b5056efb780cd676e66c8

This commit is contained in:
Vincent-Michael committed 2013-07-24 23:09:24 +02:00
1 parent 3bf001fe5f
commit 75db5f8c17
3 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -240,7 +240,7 @@ class spell_rog_deadly_poison : public SpellScriptLoader
// item combat enchantments
for (uint8 slot = 0; slot < MAX_ENCHANTMENT_SLOT; ++slot)
{
if (slot > PRISMATIC_ENCHANTMENT_SLOT || slot < PROP_ENCHANTMENT_SLOT_0) // not holding enchantment id
if (slot > PRISMATIC_ENCHANTMENT_SLOT && slot < PROP_ENCHANTMENT_SLOT_0) // not holding enchantment id
continue;
SpellItemEnchantmentEntry const* enchant = sSpellItemEnchantmentStore.LookupEntry(item->GetEnchantmentId(EnchantmentSlot(slot)));