mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 23:43:10 +00:00
Adding a safety check before the stopHandle call().. May or may not be necessary.
svn-id: r22698
This commit is contained in:
parent
77910d4163
commit
8161aa8adb
@ -82,7 +82,8 @@ void Sound::voicePlay(const char *file) {
|
||||
}
|
||||
|
||||
void Sound::voiceStop() {
|
||||
_mixer->stopHandle(_vocHandle);
|
||||
if (_mixer->isSoundHandleActive(_vocHandle))
|
||||
_mixer->stopHandle(_vocHandle);
|
||||
}
|
||||
|
||||
bool Sound::voiceIsPlaying() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user