1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 15:29:55 +00:00

Play region sounds in quasi exteriors

This commit is contained in:
Evil Eye 2024-10-19 10:43:50 +02:00
parent 001d39057f
commit 361586d85e

View file

@ -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;