diff options
author | Oliver Kiehl | 2002-11-24 13:21:31 +0000 |
---|---|---|
committer | Oliver Kiehl | 2002-11-24 13:21:31 +0000 |
commit | ba94e0ac40bb3f33ac712658a3c7114c57e84f75 (patch) | |
tree | 36d89d1cf77596247be54b49a5857585e25ddf53 /simon/simonsound.cpp | |
parent | f63dda7ecfca45ffc0fecc69c7315e8b1f1ffd4f (diff) | |
download | scummvm-rg350-ba94e0ac40bb3f33ac712658a3c7114c57e84f75.tar.gz scummvm-rg350-ba94e0ac40bb3f33ac712658a3c7114c57e84f75.tar.bz2 scummvm-rg350-ba94e0ac40bb3f33ac712658a3c7114c57e84f75.zip |
fixed last commit
svn-id: r5708
Diffstat (limited to 'simon/simonsound.cpp')
-rw-r--r-- | simon/simonsound.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/simon/simonsound.cpp b/simon/simonsound.cpp index e687c880ed..d6867fa0ab 100644 --- a/simon/simonsound.cpp +++ b/simon/simonsound.cpp @@ -148,6 +148,11 @@ void SimonSound::playAmbient(uint sound) _ambient_index = _effects->playSound(sound, &_ambient_handle, SoundMixer::FLAG_LOOP); } +bool SimonSound::hasVoice() +{ + return _voice != NULL; +} + void SimonSound::stopAll() { _mixer->stopAll(); |