From dccae5f7f14afab964299e211a6d13c3169ed450 Mon Sep 17 00:00:00 2001 From: aviloria Date: Fri, 27 Dec 2019 00:39:38 +0100 Subject: WINTERMUTE: Solve 'Chinese' language conflicts. Add more game entries (#1969) --- engines/wintermute/base/base_file_manager.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'engines/wintermute/base') diff --git a/engines/wintermute/base/base_file_manager.cpp b/engines/wintermute/base/base_file_manager.cpp index 18c1bb744a..dad8b43d65 100644 --- a/engines/wintermute/base/base_file_manager.cpp +++ b/engines/wintermute/base/base_file_manager.cpp @@ -233,8 +233,13 @@ bool BaseFileManager::registerPackages() { if (_language != Common::EN_ANY) { continue; } + // Chinese + } else if (fileName == "chinese.dcp" || fileName == "xlanguage_nz.dcp" || fileName == "chinese_language_pack.dcp") { + if (_language != Common::ZH_ANY) { + continue; + } // Simplified Chinese - } else if (fileName == "chinese.dcp" || fileName == "xlanguage_nz.dcp" || fileName == "xlanguage_zh_s.dcp" || fileName == "chinese_language_pack.dcp") { + } else if (fileName == "xlanguage_zh_s.dcp") { if (_language != Common::ZH_CNA) { continue; } -- cgit v1.2.3