diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mortevielle/mortevielle.cpp | 2 | ||||
-rw-r--r-- | engines/mortevielle/speech.cpp | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/engines/mortevielle/mortevielle.cpp b/engines/mortevielle/mortevielle.cpp index 21f2ba314e..8ff7d02c9e 100644 --- a/engines/mortevielle/mortevielle.cpp +++ b/engines/mortevielle/mortevielle.cpp @@ -113,6 +113,8 @@ MortevielleEngine::MortevielleEngine(OSystem *system, const ADGameDescription *g _c_zzz = -1; _caff = -1; + + memset(_mem, 0, sizeof(_mem)); } MortevielleEngine::~MortevielleEngine() { diff --git a/engines/mortevielle/speech.cpp b/engines/mortevielle/speech.cpp index 2c15db253d..0d06edcd48 100644 --- a/engines/mortevielle/speech.cpp +++ b/engines/mortevielle/speech.cpp @@ -58,6 +58,14 @@ const byte _tabdbc[18] = {7, 23, 7, 14, 13, 9, 14, 9, 5, 12, 6, 12, 13, 4, 0, 4, SpeechManager::SpeechManager() { _typlec = 0; _phonemeNumb = 0; + + for (int i = 0; i < 3; i++) { + _queue[i]._val; + _queue[i]._code; + _queue[i]._acc; + _queue[i]._freq; + _queue[i]._rep; + } } void SpeechManager::spfrac(int wor) { |