shithub: choc

Download patch

ref: 0403e94fde9ec34e4aef1baca891b1b9d8c99564
parent: 881c5452c8286943d9ed75f2ca0c929ba437b4c7
author: Turo Lamminen <turol@iki.fi>
date: Tue Sep 13 16:21:48 EDT 2022

hexen: Move S_music extern declaration to sounds.h

--- a/src/hexen/s_sound.c
+++ b/src/hexen/s_sound.c
@@ -65,7 +65,6 @@
 //void *mus_sndptr;
 //byte *soundCurve;
 
-extern musicinfo_t S_music[];
 
 static channel_t Channel[MAX_CHANNELS];
 static void *RegisteredSong;      //the current registered song.
--- a/src/hexen/sounds.h
+++ b/src/hexen/sounds.h
@@ -315,6 +315,7 @@
 
 
 extern sfxinfo_t S_sfx[];
+extern musicinfo_t S_music[];
 
 
 #endif