From b0fcad4cb88b5f9af6fe85f58286c96593dfe75e Mon Sep 17 00:00:00 2001 From: MiroslavR Date: Sun, 10 Jul 2016 03:49:09 +0200 Subject: [PATCH] Don't stack effects for scrolls of the same type (Fixes #3466) --- apps/openmw/mwmechanics/spellcasting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwmechanics/spellcasting.cpp b/apps/openmw/mwmechanics/spellcasting.cpp index 4059702d3..52815816e 100644 --- a/apps/openmw/mwmechanics/spellcasting.cpp +++ b/apps/openmw/mwmechanics/spellcasting.cpp @@ -696,7 +696,7 @@ namespace MWMechanics const ESM::Enchantment* enchantment = MWBase::Environment::get().getWorld()->getStore().get().find(enchantmentName); - mStack = (enchantment->mData.mType == ESM::Enchantment::CastOnce); + mStack = false; // Check if there's enough charge left if (enchantment->mData.mType == ESM::Enchantment::WhenUsed || enchantment->mData.mType == ESM::Enchantment::WhenStrikes)