rnd-20020430-1-src
[rocksndiamonds.git] / src / init.c
index 232f37a426733617f104e436b1b5377a2d584bc0..04259035c0974130239dba5b7af61c46142cab1b 100644 (file)
@@ -153,40 +153,10 @@ void InitNetworkServer()
 #endif
 }
 
-#if 0
-static void ReloadCustomSounds()
-{
-  int i;
-
-#if 1
-  printf("DEBUG: reloading sounds '%s' ...\n", artwork.sounds_set_current);
-#endif
-
-  LoadSoundsInfo();
-
-  for(i=0; i<NUM_SOUNDS; i++)
-    LoadSoundToList(sound_name[i], i);
-}
-
-static void ReloadCustomMusic()
-{
-#if 1
-  printf("DEBUG: reloading music '%s' ...\n", artwork.music_set_current);
-#endif
-
-  FreeAllMusic();
-
-  LoadCustomMusic();
-}
-#endif
-
 static void InitSoundServer()
 {
   OpenAudio();
-#if 0
-  SetAudioReloadFunctions(ReloadCustomSounds, ReloadCustomMusic);
-#endif
-  InitSoundList(sound_name, NUM_SOUNDS);
+  InitSoundList(sound_effects, NUM_SOUND_EFFECTS);
 
   StartSoundserver();
 }