mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 20:56:42 +00:00 
			
		
		
		
	Don't stack effects for scrolls of the same type (Fixes #3466)
This commit is contained in:
		
							parent
							
								
									da0e20edcd
								
							
						
					
					
						commit
						b0fcad4cb8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -696,7 +696,7 @@ namespace MWMechanics | |||
| 
 | ||||
|         const ESM::Enchantment* enchantment = MWBase::Environment::get().getWorld()->getStore().get<ESM::Enchantment>().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) | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue