From f4a5714477725b7e3016dd1271f65ee7aac0d91f Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Mon, 19 Jul 2010 16:01:16 +0000 Subject: SCI: make sci0 foreign vocabulary also work makes pq2 load japanese vocabulary too svn-id: r51033 --- engines/sci/parser/vocabulary.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/engines/sci/parser/vocabulary.cpp b/engines/sci/parser/vocabulary.cpp index b4bd4dcb16..a266ba74c1 100644 --- a/engines/sci/parser/vocabulary.cpp +++ b/engines/sci/parser/vocabulary.cpp @@ -55,11 +55,11 @@ Vocabulary::Vocabulary(ResourceManager *resMan, bool foreign) : _resMan(resMan), _resourceIdWords = VOCAB_RESOURCE_SCI1_MAIN_VOCAB; _resourceIdSuffixes = VOCAB_RESOURCE_SCI1_SUFFIX_VOCAB; _resourceIdBranches = VOCAB_RESOURCE_SCI1_PARSE_TREE_BRANCHES; - if (_foreign) { - _resourceIdWords += 10; - _resourceIdSuffixes += 10; - _resourceIdBranches += 10; - } + } + if (_foreign) { + _resourceIdWords += 10; + _resourceIdSuffixes += 10; + _resourceIdBranches += 10; } if (getSciVersion() <= SCI_VERSION_1_EGA && loadParserWords()) { -- cgit v1.2.3