mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 18:41:14 +00:00
Refactor
This commit is contained in:
parent
cd2ca33323
commit
7472cad49b
@ -119,11 +119,7 @@ void MxBackgroundAudioManager::FadeInPendingPresenter()
|
||||
MxS32 compare, volume;
|
||||
|
||||
if (m_activePresenter == NULL) {
|
||||
if (m_pendingPresenter) {
|
||||
if (m_pendingPresenter->GetCurrentTickleState() <= MxPresenter::e_starting) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (m_pendingPresenter && m_pendingPresenter->GetCurrentTickleState() <= MxPresenter::e_starting) {
|
||||
if (!m_pendingPresenter->IsEnabled()) {
|
||||
m_pendingPresenter->Enable(TRUE);
|
||||
m_pendingPresenter->SetTickleState(MxPresenter::e_streaming);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user