Skip to content
Permalink
Browse files

WINTERMUTE: Add Simplified and Traditional Chinese flavours

Latest Steam updates for Reversion titles include Simplified and Traditional Chinese languages that were not properly identified
  • Loading branch information
aviloria authored and bluegr committed Dec 2, 2019
1 parent c8d37ab commit 8bd5da60cd2372088ea0e8809dc85eb57e651a85
Showing with 7 additions and 2 deletions.
  1. +7 −2 engines/wintermute/base/base_file_manager.cpp
@@ -233,11 +233,16 @@ bool BaseFileManager::registerPackages() {
if (_language != Common::EN_ANY) {
continue;
}
// Chinese
} else if (fileName == "chinese.dcp" || fileName == "xlanguage_nz.dcp" || fileName == "chinese_language_pack.dcp") {
// Simplified Chinese
} else if (fileName == "chinese.dcp" || fileName == "xlanguage_nz.dcp" || fileName == "xlanguage_zh_s.dcp" || fileName == "chinese_language_pack.dcp") {
if (_language != Common::ZH_CNA) {
continue;
}
// Traditional Chinese
} else if (fileName == "xlanguage_zh_t.dcp") {
if (_language != Common::ZH_TWN) {
continue;
}
// Czech
} else if (fileName == "czech.dcp" || fileName == "xlanguage_cz.dcp" || fileName == "czech_language_pack.dcp") {
if (_language != Common::CZ_CZE) {

0 comments on commit 8bd5da6

Please sign in to comment.
You can’t perform that action at this time.