aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-02-09 05:11:54 +0000
committerTravis Howell2004-02-09 05:11:54 +0000
commit95552e6ee3f6539d4d3d475bf6c54510e449a531 (patch)
tree422b351c9f2e7178ff2e85783c12f3eb533d7260
parentfbd83ab27ebc94fd91f51080af478964cf1bf4aa (diff)
downloadscummvm-rg350-95552e6ee3f6539d4d3d475bf6c54510e449a531.tar.gz
scummvm-rg350-95552e6ee3f6539d4d3d475bf6c54510e449a531.tar.bz2
scummvm-rg350-95552e6ee3f6539d4d3d475bf6c54510e449a531.zip
Switch method used for combined speech and subtitles in Simon2 (Non - Hebrew versions) again.
svn-id: r12782
-rw-r--r--simon/simon.cpp5
-rw-r--r--simon/vga.cpp2
2 files changed, 5 insertions, 2 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 0705c37a19..cb3a269b1b 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -4054,7 +4054,10 @@ void SimonEngine::talk_with_speech(uint speech_id, uint vga_sprite_id) {
}
_skip_vga_wait = true;
} else {
- if (_subtitles && _scriptvar_2) {
+ if (_subtitles && _language != 20) {
+ _sound->playVoice(speech_id);
+ return;
+ } else if (_subtitles && _scriptvar_2) {
start_vga_code(4, 2, 5, 0, 0, 0);
o_wait_for_vga(205);
o_kill_sprite_simon2(2,5);
diff --git a/simon/vga.cpp b/simon/vga.cpp
index 2cde65f487..43468373d1 100644
--- a/simon/vga.cpp
+++ b/simon/vga.cpp
@@ -1793,7 +1793,7 @@ void SimonEngine::vc_63_palette_thing_2() {
void SimonEngine::vc_64_skip_if_no_speech() {
// Simon2
- if (!_sound->_voice_handle.isActive())
+ if (!_sound->_voice_handle.isActive() || (_subtitles && _language != 20))
vc_skip_next_instruction();
}