mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Add test for SUCCESS
This commit is contained in:
@@ -95,7 +95,7 @@ MxResult MxMIDIPresenter::PutData()
|
|||||||
if (m_currentTickleState == e_streaming && m_chunk && !MusicManager()->GetMIDIInitialized()) {
|
if (m_currentTickleState == e_streaming && m_chunk && !MusicManager()->GetMIDIInitialized()) {
|
||||||
SetVolume(((MxDSSound*) m_action)->GetVolume());
|
SetVolume(((MxDSSound*) m_action)->GetVolume());
|
||||||
|
|
||||||
if (MusicManager()->InitializeMIDI(m_chunk->GetData(), 1))
|
if (MusicManager()->InitializeMIDI(m_chunk->GetData(), 1) != SUCCESS)
|
||||||
EndAction();
|
EndAction();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user