mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-11 18:51:16 +00:00
Add test for SUCCESS
This commit is contained in:
parent
5d79ac9436
commit
be045514ed
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user