Core/Misc: Fix logic fail in7770c820979ef1f49e8b5056efb780cd676e66c8
This commit is contained in:
1 parent
3bf001fe5f
commit
75db5f8c17
3 files changed
+8
-8
No files matched your search
@@ -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)));
|
||||
|
||||
Reference in new issue
Block a user