mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-07 13:20:25 +00:00
Merge branch 'mourningnote' into 'master'
Play region sounds in quasi exteriors See merge request OpenMW/openmw!4411
This commit is contained in:
commit
083381526f
@ -827,7 +827,7 @@ namespace MWSound
|
|||||||
const MWWorld::ConstPtr player = world->getPlayerPtr();
|
const MWWorld::ConstPtr player = world->getPlayerPtr();
|
||||||
auto cell = player.getCell()->getCell();
|
auto cell = player.getCell()->getCell();
|
||||||
|
|
||||||
if (!cell->isExterior())
|
if (!cell->isExterior() && !cell->isQuasiExterior())
|
||||||
return;
|
return;
|
||||||
if (mCurrentRegionSound && mOutput->isSoundPlaying(mCurrentRegionSound))
|
if (mCurrentRegionSound && mOutput->isSoundPlaying(mCurrentRegionSound))
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user