mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-13 07:03:40 +01:00
Use new MUS_NONE constant in sound.c
This commit is contained in:
parent
092608aef6
commit
291df27dcb
@ -264,7 +264,7 @@ void FadeInNewBGM(u16 songNum, u8 speed)
|
|||||||
{
|
{
|
||||||
if (gDisableMusic)
|
if (gDisableMusic)
|
||||||
songNum = 0;
|
songNum = 0;
|
||||||
if (songNum == 0xFFFF)
|
if (songNum == MUS_NONE)
|
||||||
songNum = 0;
|
songNum = 0;
|
||||||
m4aSongNumStart(songNum);
|
m4aSongNumStart(songNum);
|
||||||
m4aMPlayImmInit(&gMPlayInfo_BGM);
|
m4aMPlayImmInit(&gMPlayInfo_BGM);
|
||||||
@ -561,7 +561,7 @@ void PlayBGM(u16 songNum)
|
|||||||
{
|
{
|
||||||
if (gDisableMusic)
|
if (gDisableMusic)
|
||||||
songNum = 0;
|
songNum = 0;
|
||||||
if (songNum == 0xFFFF)
|
if (songNum == MUS_NONE)
|
||||||
songNum = 0;
|
songNum = 0;
|
||||||
m4aSongNumStart(songNum);
|
m4aSongNumStart(songNum);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user