aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2013-11-11 22:11:22 -0500
committerPaul Gilbert2013-11-11 22:11:22 -0500
commit5e3cbacd6d0349ee5658249267aaf627a2844e08 (patch)
treeb24235f17cb3f0a2efab25249425817f932a91c3
parentd3c440b040a1f6cf80ecafadb133a39d7bedc7aa (diff)
downloadscummvm-rg350-5e3cbacd6d0349ee5658249267aaf627a2844e08.tar.gz
scummvm-rg350-5e3cbacd6d0349ee5658249267aaf627a2844e08.tar.bz2
scummvm-rg350-5e3cbacd6d0349ee5658249267aaf627a2844e08.zip
TSAGE: Bugfix for R2R voice playback of Louis Wu Infodisk
-rw-r--r--engines/tsage/ringworld2/ringworld2_scenes0.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes0.cpp b/engines/tsage/ringworld2/ringworld2_scenes0.cpp
index f8e17123aa..d3260583c6 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes0.cpp
+++ b/engines/tsage/ringworld2/ringworld2_scenes0.cpp
@@ -785,7 +785,7 @@ void Scene125::signal() {
case 12:
if (_soundCount > 0)
--_soundCount;
- if (!_soundCount || (R2_GLOBALS._speechSubtitles & SPEECH_VOICE)) {
+ if (!_soundCount || !(R2_GLOBALS._speechSubtitles & SPEECH_VOICE)) {
_soundIndex = 0;
R2_GLOBALS._playStream.stop();
} else {
@@ -1172,7 +1172,7 @@ void Scene125::setDetails(int resNum, int lineNum) {
if ((_soundCount > 0) && (R2_GLOBALS._speechSubtitles & SPEECH_VOICE)) {
_sceneMode = 12;
- R2_GLOBALS._playStream.play(_soundIndexes[_soundIndex], this);
+ R2_GLOBALS._playStream.play(_soundIndexes[_soundIndex++], this);
}
} else {
// Passed the start or end of the message set, so return to the menu