From 51efdd70e49a1378cc828113a3ee3997f85cdc14 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 2 Oct 2008 18:46:11 +0000 Subject: Split out high-level sound code from hexen/i_ibm.c and refactor to use common interface. Subversion-branch: /branches/raven-branch Subversion-revision: 1324 --- src/hexen/sn_sonix.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/hexen/sn_sonix.c') 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 #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; } -- cgit v1.2.3