Merge pull request #82 from GabrielRavier/correctEnumTypeBeingConvertedToBool
Check "no" against MUS_SILENCE instead of converting it to a bool
This commit is contained in:
commit
69ec37c1cc
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ MusicID gMusicNo;
|
|||
|
||||
void ChangeMusic(MusicID no)
|
||||
{
|
||||
if (no && no == gMusicNo)
|
||||
if (no != MUS_SILENCE && no == gMusicNo)
|
||||
return;
|
||||
|
||||
//Stop and keep track of old song
|
||||
|
|
Loading…
Add table
Reference in a new issue