2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-18 07:25:23 +00:00

Finish initial CCredits implementation, merge EFlowStates with EClientFlowStates

This commit is contained in:
2021-06-03 16:47:04 -07:00
parent 665dc5fd51
commit 99d363d5df
12 changed files with 50 additions and 49 deletions

View File

@@ -18,7 +18,7 @@ CIOWin::EMessageReturn CAudioStateWin::OnMessage(const CArchitectureMessage& msg
CSfxManager::TurnOnChannel(CSfxManager::ESfxChannels::Game);
} else if (msgType == EArchMsgType::QuitGameplay) {
if (g_GameState->GetWorldTransitionManager()->GetTransType() == CWorldTransManager::ETransType::Disabled ||
m->GetFlowState() != EFlowState::None) {
m->GetFlowState() != EClientFlowStates::None) {
CSfxManager::SetChannel(CSfxManager::ESfxChannels::Default);
CSfxManager::KillAll(CSfxManager::ESfxChannels::Game);
}