mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 01:56:44 +00:00 
			
		
		
		
	Limit sMagicinvalidEffect to self-cast spells
This commit is contained in:
		
							parent
							
								
									6c3cad238b
								
							
						
					
					
						commit
						f25c65260c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -393,7 +393,7 @@ namespace MWMechanics
 | 
			
		|||
 | 
			
		||||
                if (!world->isWaterWalkingCastableOnTarget(target))
 | 
			
		||||
                {
 | 
			
		||||
                    if (castByPlayer)
 | 
			
		||||
                    if (castByPlayer && caster == target)
 | 
			
		||||
                        MWBase::Environment::get().getWindowManager()->messageBox ("#{sMagicInvalidEffect}");
 | 
			
		||||
                    continue;
 | 
			
		||||
                }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue