mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 03:56:39 +00:00 
			
		
		
		
	Remove check for an empty Particle from Magic effects verifier
This commit is contained in:
		
							parent
							
								
									11f5a928db
								
							
						
					
					
						commit
						f0982c87ba
					
				
					 1 changed files with 1 additions and 5 deletions
				
			
		|  | @ -103,11 +103,7 @@ void CSMTools::MagicEffectCheckStage::perform(int stage, CSMDoc::Messages &messa | ||||||
|         messages.push_back(std::make_pair(id, "No such Icon '" + effect.mIcon + "'")); |         messages.push_back(std::make_pair(id, "No such Icon '" + effect.mIcon + "'")); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     if (effect.mParticle.empty()) |     if (!effect.mParticle.empty() && !isTextureExists(effect.mParticle, false)) | ||||||
|     { |  | ||||||
|         messages.push_back(std::make_pair(id, "Particle is not specified")); |  | ||||||
|     } |  | ||||||
|     else if (!isTextureExists(effect.mParticle, false)) |  | ||||||
|     { |     { | ||||||
|         messages.push_back(std::make_pair(id, "No such Particle '" + effect.mParticle + "'")); |         messages.push_back(std::make_pair(id, "No such Particle '" + effect.mParticle + "'")); | ||||||
|     } |     } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue