forked from teamnwah/openmw-tes3coop
Change breaks to continues
This commit is contained in:
parent
266ec1aadc
commit
fa17784722
1 changed files with 2 additions and 2 deletions
|
@ -412,7 +412,7 @@ namespace MWMechanics
|
|||
if (magicEffect->mData.mFlags & ESM::MagicEffect::Harmful && target.getClass().isActor())
|
||||
{
|
||||
if (absorbed)
|
||||
break;
|
||||
continue;
|
||||
|
||||
// Try reflecting
|
||||
if (!reflected && !caster.isEmpty() && caster != target && !(magicEffect->mData.mFlags & ESM::MagicEffect::Unreflectable))
|
||||
|
@ -426,7 +426,7 @@ namespace MWMechanics
|
|||
"meshes\\" + reflectStatic->mModel, ESM::MagicEffect::Reflect, false, "");
|
||||
reflectedEffects.mList.push_back(*effectIt);
|
||||
magnitudeMult = 0;
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue