aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/scene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/scene.cpp')
-rw-r--r--engines/mads/scene.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp
index 6101be67a6..4c48619ab9 100644
--- a/engines/mads/scene.cpp
+++ b/engines/mads/scene.cpp
@@ -63,6 +63,8 @@ Scene::Scene(MADSEngine *vm)
_variant = 0;
_initialVariant = 0;
+ _speechReady = -1;
+
_paletteUsageF.push_back(PaletteUsage::UsageEntry(0xF));
// Set up a scene surface that maps to our physical screen drawing surface
@@ -811,6 +813,9 @@ void Scene::loadSpeech(int idx) {
_vm->_audio->setDefaultSoundGroup();
// NOTE: The original actually preloads the speech sample here, but the samples
// are so small that it's not really worth it...
+
+ // TODO: As the speech samples aren't cached anymore, _speechReady should be remove
+ _speechReady = idx;
}
void Scene::playSpeech(int idx) {