summaryrefslogtreecommitdiff
path: root/src/hexen/sn_sonix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen/sn_sonix.c')
-rw-r--r--src/hexen/sn_sonix.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/hexen/sn_sonix.c b/src/hexen/sn_sonix.c
index b1d02fe5..412791a3 100644
--- a/src/hexen/sn_sonix.c
+++ b/src/hexen/sn_sonix.c
@@ -27,7 +27,8 @@
#include <string.h>
#include "h2def.h"
#include "i_system.h"
-#include "soundst.h"
+#include "i_sound.h"
+#include "s_sound.h"
// MACROS ------------------------------------------------------------------
@@ -165,7 +166,7 @@ static int GetSoundOffset(char *name)
for (i = 0; i < NUMSFX; i++)
{
- if (!strcasecmp(name, S_sfx[i].tagName))
+ if (!strcasecmp(name, S_sfx[i].tagname))
{
return i;
}