Check "no" against MUS_SILENCE instead of converting it to a bool
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
parent
4e322f25c4
commit
bae879e3b5
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ MusicID gMusicNo;
|
||||||
|
|
||||||
void ChangeMusic(MusicID no)
|
void ChangeMusic(MusicID no)
|
||||||
{
|
{
|
||||||
if (no && no == gMusicNo)
|
if (no == MUS_SILENCE && no == gMusicNo)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
//Stop and keep track of old song
|
//Stop and keep track of old song
|
||||||
|
|
Loading…
Add table
Reference in a new issue