Skip to content

Commit

Permalink
Fix music in shareware
Browse files Browse the repository at this point in the history
  • Loading branch information
Anders Jenbo committed Oct 3, 2019
1 parent ea4358f commit 552730f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions SourceX/sound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,18 @@ BOOLEAN gbSoundOn = true;
int sgnMusicTrack = 6;

char *sgszMusicTracks[NUM_MUSIC] = {
#ifdef SPAWN
"Music\\sTowne.wav",
"Music\\sLvlA.wav",
"Music\\sintro.wav"
#else
"Music\\DTowne.wav",
"Music\\DLvlA.wav",
#ifndef SPAWN
"Music\\DLvlB.wav",
"Music\\DLvlC.wav",
"Music\\DLvlD.wav",
#endif
"Music\\Dintro.wav"
#endif
};

void snd_stop_snd(TSnd *pSnd)
Expand Down

0 comments on commit 552730f

Please sign in to comment.