Merge pull request #59 from xfury/master

[Core]Fix temporary enchantment duration
This commit is contained in:
Antz 2016-01-02 09:08:01 +00:00
commit 36d1cfd4c5

View File

@ -4204,7 +4204,7 @@ void Spell::EffectEnchantHeldItem(SpellEffectIndex eff_idx)
{ return; }
// Apply the temporary enchantment
item->SetEnchantment(slot, enchant_id, duration * IN_MILLISECONDS, 0);
item->SetEnchantment(slot, enchant_id, duration, 0);
item_owner->ApplyEnchantment(item, slot, true);
}
}