|
|
|
@ -190,8 +190,7 @@ namespace MWWorld
|
|
|
|
|
{
|
|
|
|
|
MWBase::Environment::get().getWorld()->explodeSpell(pos, it->mEffects, caster, ESM::RT_Target, it->mSpellId, it->mSourceName);
|
|
|
|
|
|
|
|
|
|
MWBase::Environment::get().getSoundManager()->stopSound(it->mSound);
|
|
|
|
|
|
|
|
|
|
it->mSound->stop();
|
|
|
|
|
mParent->removeChild(it->mNode);
|
|
|
|
|
|
|
|
|
|
it = mMagicBolts.erase(it);
|
|
|
|
@ -265,7 +264,7 @@ namespace MWWorld
|
|
|
|
|
for (std::vector<MagicBoltState>::iterator it = mMagicBolts.begin(); it != mMagicBolts.end(); ++it)
|
|
|
|
|
{
|
|
|
|
|
mParent->removeChild(it->mNode);
|
|
|
|
|
MWBase::Environment::get().getSoundManager()->stopSound(it->mSound);
|
|
|
|
|
it->mSound->stop();
|
|
|
|
|
}
|
|
|
|
|
mMagicBolts.clear();
|
|
|
|
|
}
|
|
|
|
|