aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2013-08-19 20:42:18 +0200
committerStrangerke2013-08-19 20:42:47 +0200
commitf979de547bdbee52466054c7c1148c440f4e811f (patch)
tree085bc14dfa2d92c848593be19b8e1401bec3f469 /engines
parent6d66eb5cc2da939e266ae065863bdb51716531b9 (diff)
downloadscummvm-rg350-f979de547bdbee52466054c7c1148c440f4e811f.tar.gz
scummvm-rg350-f979de547bdbee52466054c7c1148c440f4e811f.tar.bz2
scummvm-rg350-f979de547bdbee52466054c7c1148c440f4e811f.zip
MORTEVIELLE: Avoid a crash related to speech during the ending sequence of the German version
Diffstat (limited to 'engines')
-rw-r--r--engines/mortevielle/sound.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/mortevielle/sound.cpp b/engines/mortevielle/sound.cpp
index 3bea96b92f..b670246726 100644
--- a/engines/mortevielle/sound.cpp
+++ b/engines/mortevielle/sound.cpp
@@ -741,6 +741,10 @@ void SoundManager::startSpeech(int rep, int ht, int typ) {
uint16 savph[501];
int tempo;
+ // Hack to avoid a crash in the ending version. To be removed when the speech are implemented
+ if ((rep == 141) && (typ == 0))
+ return;
+
if (_vm->_soundOff)
return;