From 237d1149b5ab8cd00baa902ad951a01889383362 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 11 Aug 2015 20:30:04 -0400 Subject: SHERLOCK: RT: Don't error out if a speech resource doesn't exist --- engines/sherlock/tattoo/tattoo_user_interface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sherlock/tattoo/tattoo_user_interface.cpp') diff --git a/engines/sherlock/tattoo/tattoo_user_interface.cpp b/engines/sherlock/tattoo/tattoo_user_interface.cpp index 275ba2f0a0..f9d6194a84 100644 --- a/engines/sherlock/tattoo/tattoo_user_interface.cpp +++ b/engines/sherlock/tattoo/tattoo_user_interface.cpp @@ -132,14 +132,14 @@ void TattooUserInterface::lookAtObject() { while ((*p == ' ') || (*p == '=')) ++p; - // If it's not "NONE", play the Sound File + // If it's not "NONE", play the speech File Common::String soundName(p); if (soundName.compareToIgnoreCase("NONE")) { soundName.toLowercase(); if (!soundName.contains('.')) soundName += ".wav"; - sound.playSound(soundName, WAIT_RETURN_IMMEDIATELY); + sound.playSpeech(soundName); } break; -- cgit v1.2.3