From b7b904f9814ca0644a8fea1a3fb9250a4a4fbbd5 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Mon, 19 Jul 2010 15:30:27 +0000 Subject: SCI: fix regression of r51027 we have to reset the parser when switching vocabulary svn-id: r51031 --- engines/sci/engine/state.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/sci/engine') diff --git a/engines/sci/engine/state.cpp b/engines/sci/engine/state.cpp index e07373b466..a069344d61 100644 --- a/engines/sci/engine/state.cpp +++ b/engines/sci/engine/state.cpp @@ -332,6 +332,7 @@ void SciEngine::checkVocabularySwitch() { if (parserLanguage != _vocabularyLanguage) { delete _vocabulary; _vocabulary = new Vocabulary(_resMan, parserLanguage > 1 ? true : false); + _vocabulary->reset(); _vocabularyLanguage = parserLanguage; } } -- cgit v1.2.3