diff options
| author | Vincent-Michael <Vincent_Michael@gmx.de> | 2013-07-24 21:43:49 +0200 |
|---|---|---|
| committer | Vincent-Michael <Vincent_Michael@gmx.de> | 2013-07-24 23:09:24 +0200 |
| commit | 75db5f8c17224579d0990f97fd60e85d12ec5a86 (patch) | |
| tree | 2149a4823944d07a9ef14d5977f9c711b2a8fd56 /src/server/scripts/Spells | |
| parent | 3bf001fe5f541b67a182a973381557f9c1a60a9e (diff) | |
Core/Misc: Fix logic fail in7770c820979ef1f49e8b5056efb780cd676e66c8
Diffstat (limited to 'src/server/scripts/Spells')
| -rw-r--r-- | src/server/scripts/Spells/spell_rogue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_rogue.cpp b/src/server/scripts/Spells/spell_rogue.cpp index e73da473f2c..de95c70b83b 100644 --- a/src/server/scripts/Spells/spell_rogue.cpp +++ b/src/server/scripts/Spells/spell_rogue.cpp @@ -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))); |
