forked from teamnwah/openmw-tes3coop
Fix magic projectile sound disappearing after multiple save/load cycles
This commit is contained in:
parent
20777c1b2e
commit
ff11745429
1 changed files with 1 additions and 0 deletions
|
@ -409,6 +409,7 @@ namespace MWWorld
|
|||
MWBase::SoundManager *sndMgr = MWBase::Environment::get().getSoundManager();
|
||||
state.mSound = sndMgr->playManualSound3D(esm.mPosition, esm.mSound, 1.0f, 1.0f,
|
||||
MWBase::SoundManager::Play_TypeSfx, MWBase::SoundManager::Play_Loop);
|
||||
state.mSoundId = esm.mSound;
|
||||
|
||||
mMagicBolts.push_back(state);
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue