summaryrefslogtreecommitdiff
path: root/src/heretic/s_sound.c
diff options
context:
space:
mode:
authorSimon Howard2008-09-24 19:04:02 +0000
committerSimon Howard2008-09-24 19:04:02 +0000
commitc04e3c8be21e3819e2c75f2b6154728c4dd0a72b (patch)
tree3c2339ec66399d05cf64e62288b48570431f4333 /src/heretic/s_sound.c
parentc068da2d89abf29955e9e2698c94984fd726784e (diff)
downloadchocolate-doom-c04e3c8be21e3819e2c75f2b6154728c4dd0a72b.tar.gz
chocolate-doom-c04e3c8be21e3819e2c75f2b6154728c4dd0a72b.tar.bz2
chocolate-doom-c04e3c8be21e3819e2c75f2b6154728c4dd0a72b.zip
Add missing sound variables, I_Update -> I_FinishUpdate.
Subversion-branch: /branches/raven-branch Subversion-revision: 1274
Diffstat (limited to 'src/heretic/s_sound.c')
-rw-r--r--src/heretic/s_sound.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/heretic/s_sound.c b/src/heretic/s_sound.c
index baed0dde..c38c5938 100644
--- a/src/heretic/s_sound.c
+++ b/src/heretic/s_sound.c
@@ -57,9 +57,9 @@ extern musicinfo_t S_music[];
extern int snd_DesiredMusicDevice;
extern int snd_DesiredSfxDevice;
-extern int snd_MaxVolume;
-extern int snd_MusicVolume;
-extern int snd_Channels;
+int snd_MaxVolume;
+int snd_MusicVolume;
+int snd_Channels;
extern int startepisode;
extern int startmap;
@@ -566,12 +566,8 @@ void S_SetMusicVolume(void)
void S_ShutDown(void)
{
- extern int tsm_ID;
- if (tsm_ID != -1)
- {
- I_StopSong();
- I_UnRegisterSong(rs);
- I_ShutdownSound();
- }
+ I_StopSong();
+ I_UnRegisterSong(rs);
+ I_ShutdownSound();
}