From c24d0de8f6147ef31e015a3e642fcb1896013b50 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 18 May 2015 18:21:41 -0400 Subject: SHERLOCK: Remove unused variable --- engines/sherlock/animation.cpp | 2 -- engines/sherlock/sound.cpp | 1 - engines/sherlock/sound.h | 1 - 3 files changed, 4 deletions(-) diff --git a/engines/sherlock/animation.cpp b/engines/sherlock/animation.cpp index 6cdefaffbd..3c7b2b7443 100644 --- a/engines/sherlock/animation.cpp +++ b/engines/sherlock/animation.cpp @@ -40,7 +40,6 @@ bool Animation::play(const Common::String &filename, int minDelay, int fade, Screen &screen = *_vm->_screen; Sound &sound = *_vm->_sound; int soundNumber = 0; - sound._playingEpilogue = true; // Check for any any sound frames for the given animation const int *soundFrames = checkForSoundFrames(filename); @@ -133,7 +132,6 @@ bool Animation::play(const Common::String &filename, int minDelay, int fade, events.clearEvents(); sound.stopSound(); delete stream; - sound._playingEpilogue = false; return !skipped && !_vm->shouldQuit(); } diff --git a/engines/sherlock/sound.cpp b/engines/sherlock/sound.cpp index 3270fbf7e4..b44eb17397 100644 --- a/engines/sherlock/sound.cpp +++ b/engines/sherlock/sound.cpp @@ -34,7 +34,6 @@ Sound::Sound(SherlockEngine *vm, Audio::Mixer *mixer) : _vm(vm), _mixer(mixer) { _digitized = false; _music = false; _voices = 0; - _playingEpilogue = false; _diskSoundPlaying = false; _soundPlaying = false; _soundIsOn = &_soundPlaying; diff --git a/engines/sherlock/sound.h b/engines/sherlock/sound.h index 4d94c58f6f..62d4aa24c4 100644 --- a/engines/sherlock/sound.h +++ b/engines/sherlock/sound.h @@ -54,7 +54,6 @@ public: bool _soundOn; bool _musicOn; bool _speechOn; - bool _playingEpilogue; bool _diskSoundPlaying; bool _soundPlaying; bool *_soundIsOn; -- cgit v1.2.3