forked from teamnwah/openmw-tes3coop
Don't set the enchanted item in HUD for "WhenStrikes" enchantments
This commit is contained in:
parent
f3e89e9168
commit
4aa9f3bcef
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ namespace MWMechanics
|
|||
}
|
||||
if (enchantment->mData.mType == ESM::Enchantment::CastOnce)
|
||||
item.getContainerStore()->remove(item, 1, mCaster);
|
||||
else
|
||||
else if (enchantment->mData.mType != ESM::Enchantment::WhenStrikes)
|
||||
{
|
||||
if (mCaster.getRefData().getHandle() == "player")
|
||||
MWBase::Environment::get().getWindowManager()->setSelectedEnchantItem(item); // Set again to show the modified charge
|
||||
|
|
Loading…
Reference in a new issue