mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-13 21:40:11 +00:00
Remove check for an empty Particle from Magic effects verifier
This commit is contained in:
parent
cbc8309289
commit
ff2dab8d56
@ -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 + "'"));
|
||||
}
|
||||
|
||||
if (effect.mParticle.empty())
|
||||
{
|
||||
messages.push_back(std::make_pair(id, "Particle is not specified"));
|
||||
}
|
||||
else if (!isTextureExists(effect.mParticle, false))
|
||||
if (!effect.mParticle.empty() && !isTextureExists(effect.mParticle, false))
|
||||
{
|
||||
messages.push_back(std::make_pair(id, "No such Particle '" + effect.mParticle + "'"));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user