Update mxmusicpresenter.cpp

This commit is contained in:
Christian Semmler 2023-10-07 16:29:22 -04:00 committed by GitHub
parent 5957674e81
commit d8e27e2e10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,12 +32,12 @@ void MxMusicPresenter::Destroy(MxBool)
// OFFSET: LEGO1 0x100c25a0 // OFFSET: LEGO1 0x100c25a0
MxResult MxMusicPresenter::AddToMusicManager() MxResult MxMusicPresenter::AddToMusicManager()
{ {
MxResult ret = -1; MxResult result = FAILURE;
if(MusicManager()) { if (MusicManager()) {
ret = 0; result = SUCCESS;
MusicManager()->AddPresenter(*this); MusicManager()->AddPresenter(*this);
} }
return ret; return result:
} }
// OFFSET: LEGO1 0x100c25d0 // OFFSET: LEGO1 0x100c25d0