summaryrefslogtreecommitdiff
path: root/src/hexen
diff options
context:
space:
mode:
authorSimon Howard2013-10-12 02:48:49 +0000
committerSimon Howard2013-10-12 02:48:49 +0000
commit6e09cdf285c5f7526138c905130d17c7248eef63 (patch)
treee3f593c2706e9566eb7e3e7c79440d19a7ee9c07 /src/hexen
parentfe63589f1d69401f4a587b773832671112cc4cb6 (diff)
downloadchocolate-doom-6e09cdf285c5f7526138c905130d17c7248eef63.tar.gz
chocolate-doom-6e09cdf285c5f7526138c905130d17c7248eef63.tar.bz2
chocolate-doom-6e09cdf285c5f7526138c905130d17c7248eef63.zip
Fix Hexen CD music (now working and tested with a real Hexen CD).
Subversion-branch: /branches/v2-branch Subversion-revision: 2698
Diffstat (limited to 'src/hexen')
-rw-r--r--src/hexen/s_sound.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hexen/s_sound.c b/src/hexen/s_sound.c
index de770bab..f6509d1c 100644
--- a/src/hexen/s_sound.c
+++ b/src/hexen/s_sound.c
@@ -289,7 +289,7 @@ void S_StartSongName(char *songLump, boolean loop)
cdTrack = P_GetCDStartTrack();
}
*/
- if (!cdTrack)
+ if (cdTrack != 0)
{
cd_custom_track = 0;
StartCDTrack(cdTrack, loop);
@@ -830,6 +830,8 @@ void S_Init(void)
{
ST_Message("failed.\n");
}
+
+ I_CDMusPrintStartup();
}
}