aboutsummaryrefslogtreecommitdiffstats
path: root/code/client
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-01-21 15:09:35 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-01-21 15:09:35 +0000
commitb411794fc8e0dc0e2d7ec044f813cfbe42bb8865 (patch)
treef93b4ae266e65950da0c1ec3d4526d685c16eae9 /code/client
parentdfe59f94a8ddc3027a968785d6fb0a402f19da71 (diff)
downloadioquake3-aero-b411794fc8e0dc0e2d7ec044f813cfbe42bb8865.tar.gz
ioquake3-aero-b411794fc8e0dc0e2d7ec044f813cfbe42bb8865.zip
* Fix to ability to diabled Ogg Vorbis
git-svn-id: svn://svn.icculus.org/quake3/trunk@513 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client')
-rw-r--r--code/client/snd_codec.c2
-rw-r--r--code/client/snd_codec_ogg.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/code/client/snd_codec.c b/code/client/snd_codec.c
index 6b92da8..666452b 100644
--- a/code/client/snd_codec.c
+++ b/code/client/snd_codec.c
@@ -97,7 +97,7 @@ void S_CodecInit()
{
codecs = NULL;
S_CodecRegister(&wav_codec);
-#ifdef USE_CODEC_VORBIS
+#if USE_CODEC_VORBIS
S_CodecRegister(&ogg_codec);
#endif
}
diff --git a/code/client/snd_codec_ogg.c b/code/client/snd_codec_ogg.c
index 20462fc..464d8d3 100644
--- a/code/client/snd_codec_ogg.c
+++ b/code/client/snd_codec_ogg.c
@@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
// OGG support is enabled by this define
-#ifdef USE_CODEC_VORBIS
+#if USE_CODEC_VORBIS
// includes for the Q3 sound system
#include "client.h"