Skip to content

Commit

Permalink
Ignore mus type SPCM with no SPCM dirs are avialable
Browse files Browse the repository at this point in the history
  • Loading branch information
viciious committed Oct 18, 2024
1 parent 7fde675 commit df1b0d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions marssound.c
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,8 @@ void S_SetMusicType(int newtype)
newtype = mustype_spcm;
if (newtype >= mustype_cd && !S_CDAvailable())
return;
if (newtype == mustype_spcm && *spcmDir == '\0')
return;

// restart the current track
savemus = curmusic;
Expand Down

0 comments on commit df1b0d5

Please sign in to comment.