aboutsummaryrefslogtreecommitdiff
path: root/engines/touche/resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/touche/resource.cpp')
-rw-r--r--engines/touche/resource.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/touche/resource.cpp b/engines/touche/resource.cpp
index d0607acfb3..5f70dafa88 100644
--- a/engines/touche/resource.cpp
+++ b/engines/touche/resource.cpp
@@ -554,7 +554,7 @@ void ToucheEngine::res_loadImageHelper(uint8 *imgData, int imgWidth, int imgHeig
void ToucheEngine::res_loadSound(int priority, int num) {
debugC(9, kDebugResource, "ToucheEngine::res_loadSound() num=%d", num);
- if (priority >= _defaultSoundPriority) {
+ if (priority >= 0) {
uint32 size;
const uint32 offs = res_getDataOffset(kResourceTypeSound, num, &size);
_fData.seek(offs);
@@ -650,7 +650,6 @@ void ToucheEngine::res_stopSpeech() {
debugC(9, kDebugResource, "ToucheEngine::res_stopSpeech()");
_mixer->stopHandle(_speechHandle);
_speechPlaying = false;
- _defaultSoundPriority = 0;
}
} // namespace Touche