aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2013-12-05 16:26:44 +0100
committerJohannes Schickel2013-12-05 16:27:57 +0100
commite180612ff5d636b11710080f816f5e073c34d876 (patch)
tree8a1049d4e027b37a985ba9eff88e7bf8aeeac84c /engines
parentba7bbe6b897db08f16a8de106df02bcadb0ec764 (diff)
downloadscummvm-rg350-e180612ff5d636b11710080f816f5e073c34d876.tar.gz
scummvm-rg350-e180612ff5d636b11710080f816f5e073c34d876.tar.bz2
scummvm-rg350-e180612ff5d636b11710080f816f5e073c34d876.zip
WINTERMUTE: Skip Latvian language package if not selected.
Diffstat (limited to 'engines')
-rw-r--r--engines/wintermute/base/base_file_manager.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/wintermute/base/base_file_manager.cpp b/engines/wintermute/base/base_file_manager.cpp
index a51038b829..e39a15f469 100644
--- a/engines/wintermute/base/base_file_manager.cpp
+++ b/engines/wintermute/base/base_file_manager.cpp
@@ -246,6 +246,11 @@ bool BaseFileManager::registerPackages() {
// Italian
} else if (_language == Common::IT_ITA && (fileName != "italian.dcp" && fileName != "xlanguage_it.dcp")) {
continue;
+ // Latvian
+ } else if (_language == Common::LV_LAT && (fileName != "latvian.dcp" && fileName != "xlanguage_lv.dcp")) {
+ // TODO: 'latvian.dcp' is just guesswork. Is there any
+ // game using Latvian and using this filename?
+ continue;
// Polish
} else if (_language == Common::PL_POL && (fileName != "polish.dcp" && fileName != "xlanguage_pl.dcp")) {
continue;