foxygit / doom Log in
commit 17bca65007022e49448b9f4d30424576fa3048d4
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Wed Jun 10 20:46:25 2009 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Wed Jun 10 20:46:25 2009 +0000

    Fix build with FEATURE_SOUND disabled.

    Subversion-branch: /branches/raven-branch
    Subversion-revision: 1589
---
 src/i_sound.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/i_sound.c b/src/i_sound.c
index bcdac459..34f4ea46 100644
--- a/src/i_sound.c
+++ b/src/i_sound.c
@@ -413,6 +413,8 @@ void I_BindSoundVariables(void)
     M_BindVariable("snd_sbdma",         &snd_sbdma);
     M_BindVariable("snd_mport",         &snd_mport);
     M_BindVariable("snd_samplerate",    &snd_samplerate);
+#ifdef FEATURE_SOUND
     M_BindVariable("use_libsamplerate", &use_libsamplerate);
+#endif
 }