summaryrefslogtreecommitdiff
path: root/src/hexen/sn_sonix.c
diff options
context:
space:
mode:
authorSimon Howard2008-10-02 18:46:11 +0000
committerSimon Howard2008-10-02 18:46:11 +0000
commit51efdd70e49a1378cc828113a3ee3997f85cdc14 (patch)
treecb360022a6f6564d9243e3e72de76a71740f3701 /src/hexen/sn_sonix.c
parent525e8d80dfd67d4562b7a4d40e685a26b860eada (diff)
downloadchocolate-doom-51efdd70e49a1378cc828113a3ee3997f85cdc14.tar.gz
chocolate-doom-51efdd70e49a1378cc828113a3ee3997f85cdc14.tar.bz2
chocolate-doom-51efdd70e49a1378cc828113a3ee3997f85cdc14.zip
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
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;
}