mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-21 22:21:02 +00:00
Play region sounds in quasi exteriors
This commit is contained in:
parent
001d39057f
commit
361586d85e
@ -827,7 +827,7 @@ namespace MWSound
|
||||
const MWWorld::ConstPtr player = world->getPlayerPtr();
|
||||
auto cell = player.getCell()->getCell();
|
||||
|
||||
if (!cell->isExterior())
|
||||
if (!cell->isExterior() && !cell->isQuasiExterior())
|
||||
return;
|
||||
if (mCurrentRegionSound && mOutput->isSoundPlaying(mCurrentRegionSound))
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user