diff options
Diffstat (limited to 'engines/simon')
-rw-r--r-- | engines/simon/sound.cpp | 8 | ||||
-rw-r--r-- | engines/simon/sound.h | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/engines/simon/sound.cpp b/engines/simon/sound.cpp index 4a0124002e..1d1c50248c 100644 --- a/engines/simon/sound.cpp +++ b/engines/simon/sound.cpp @@ -256,7 +256,6 @@ Sound::Sound(SimonEngine *vm, const GameSpecificSettings *gss, Audio::Mixer *mix _hasVoiceFile = false; _ambientPlaying = 0; - _sfx5Playing = 0; if (_vm->getFeatures() & GF_TALKIE) { loadVoiceFile(gss); @@ -522,7 +521,6 @@ void Sound::stopVoice() { void Sound::stopAll() { _mixer->stopAll(); _ambientPlaying = 0; - _sfx5Playing = 0; } void Sound::effectsPause(bool b) { @@ -564,11 +562,6 @@ void Sound::playSfxData(byte *soundData, uint sound, uint pan, uint vol) { } void Sound::playSfx5Data(byte *soundData, uint sound, uint pan, uint vol) { - if (sound == _sfx5Playing) - return; - - _sfx5Playing = sound; - if (_sfx5Paused) return; @@ -642,7 +635,6 @@ void Sound::playSoundData(Audio::SoundHandle *handle, byte *soundData, uint soun } void Sound::stopSfx5() { - _sfx5Playing = 0; _mixer->stopHandle(_sfx5Handle); } diff --git a/engines/simon/sound.h b/engines/simon/sound.h index 9f5d612678..fa8049abf6 100644 --- a/engines/simon/sound.h +++ b/engines/simon/sound.h @@ -55,7 +55,6 @@ private: bool _hasEffectsFile; bool _hasVoiceFile; uint _ambientPlaying; - uint _sfx5Playing; public: Sound(SimonEngine *vm, const GameSpecificSettings *gss, Audio::Mixer *mixer); |