mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-26 17:36:12 -05:00
Add test for SUCCESS
This commit is contained in:
parent
5d79ac9436
commit
be045514ed
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ MxResult MxMIDIPresenter::PutData()
|
|||
if (m_currentTickleState == e_streaming && m_chunk && !MusicManager()->GetMIDIInitialized()) {
|
||||
SetVolume(((MxDSSound*) m_action)->GetVolume());
|
||||
|
||||
if (MusicManager()->InitializeMIDI(m_chunk->GetData(), 1))
|
||||
if (MusicManager()->InitializeMIDI(m_chunk->GetData(), 1) != SUCCESS)
|
||||
EndAction();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue