2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 03:47:43 +00:00

Attempt 4 to fix ScriptLayerController for Tom

This commit is contained in:
2020-10-21 15:55:45 -07:00
parent 528c96b2c0
commit b963ce1e85
9 changed files with 26 additions and 23 deletions

View File

@@ -2004,7 +2004,7 @@ void CStateManager::UpdateAreaSounds() {
occState = area.GetOcclusionState();
}
if (occState == CGameArea::EOcclusionState::Visible) {
areas.push_back(area.GetAreaIndex());
areas.push_back(area.GetAreaId());
}
}
CSfxManager::SetActiveAreas(areas);