$OpenBSD: patch-sword1_animation_cpp,v 1.1 2005/07/28 17:28:14 jolan Exp $
--- sword1/animation.cpp.orig	Sun Mar 13 11:16:06 2005
+++ sword1/animation.cpp	Wed Jul 27 17:42:38 2005
@@ -99,7 +99,7 @@ MoviePlayer::~MoviePlayer(void) {
  * @param id the id of the file
  */
 void MoviePlayer::play(uint32 id) {
-#if defined(USE_MPEG2) && defined(USE_VORBIS)
+#if defined(USE_MPEG2) && (defined(USE_TREMOR) || defined(USE_VORBIS))
 	AnimationState *anim = new AnimationState(_scr, _snd, _sys);
 	AudioStream *stream = NULL;
 	if (SwordEngine::_systemVars.cutscenePackVersion == 1) {
@@ -165,7 +165,7 @@ void MoviePlayer::play(uint32 id) {
 	while (!anim->soundFinished())
 		_sys->delayMillis(100);
 	delete anim;
-#endif // USE_MPEG2 && USE_VORBIS
+#endif // USE_MPEG2 && (USE_TREMOR || USE_VORBIS)
 }
 
 void MoviePlayer::insertOverlay(OverlayColor *buf, uint8 *ovl, OverlayColor *pal) {
