[11579] Grrrr.... typo prev. commit.

This commit is contained in:
VladimirMangos 2011-06-01 03:38:39 +04:00
parent 7371bb96e1
commit 6092bbf502
2 changed files with 2 additions and 2 deletions

View file

@ -7450,7 +7450,7 @@ void Player::ApplyItemEquipSpell(Item *item, bool apply, bool form_change)
// at un-apply remove all spells (not only at-apply, so any at-use active affects from item and etc)
// except with at-use with negative charges, so allow consuming item spells (including with extra flag that prevent consume really)
// applied to player after item remove from equip slot
if (spellData.SpellTrigger == ITEM_SPELLTRIGGER_ON_EQUIP && spellData.SpellCharges < 0)
if (spellData.SpellTrigger == ITEM_SPELLTRIGGER_ON_USE && spellData.SpellCharges < 0)
continue;
}