$OpenBSD: patch-sword1_music_cpp,v 1.1 2005/07/28 17:28:14 jolan Exp $
--- sword1/music.cpp.orig	Fri Dec 10 12:26:08 2004
+++ sword1/music.cpp	Wed Jul 27 17:43:16 2005
@@ -109,7 +109,7 @@ AudioStream *MusicHandle::createAudioSou
 		case MusicMp3:
 			return makeMP3Stream(&_file, _file.size());			
 #endif
-#ifdef USE_VORBIS
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
 		case MusicVorbis:
 			return makeVorbisStream(&_file, _file.size());
 #endif
@@ -133,7 +133,7 @@ bool MusicHandle::play(const char *fileB
 	if (_file.open(fileName))
 		_musicMode = MusicMp3;
 #endif
-#ifdef USE_VORBIS
+#if defined(USE_TREMOR) || defined(USE_VORBIS)
 	if (!_file.isOpen()) { // mp3 doesn't exist (or not compiled with MAD support)
 		sprintf(fileName, "%s.ogg", fileBase);
 		if (_file.open(fileName))
