shithub: choc

Download patch

ref: a045c30915db2d722d9fa51004cca726df39b6f1
parent: 066b90fc207b8f09e53021f18f8059ae5af40fc5
author: Simon Howard <fraggle@gmail.com>
date: Wed Oct 8 15:01:35 EDT 2008

Remove unused tsm_ID reference.

Subversion-branch: /branches/raven-branch
Subversion-revision: 1340

--- a/src/hexen/s_sound.c
+++ b/src/hexen/s_sound.c
@@ -822,13 +822,9 @@
 
 void S_ShutDown(void)
 {
-    extern int tsm_ID;
-    if (tsm_ID != -1)
-    {
-        I_StopSong();
-        I_UnRegisterSong(RegisteredSong);
-        I_ShutdownSound();
-    }
+    I_StopSong();
+    I_UnRegisterSong(RegisteredSong);
+    I_ShutdownSound();
     if (i_CDMusic)
     {
         I_CDMusStop();