aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2007-01-13 10:24:26 +0000
committerJohannes Schickel2007-01-13 10:24:26 +0000
commit3efe809e830f4a8563bef7bca761a53f4a95e110 (patch)
treed214bec5c54c5d264acbc95ef42f3c6327ef96ae
parentbaf9d63f5b9704afc6894bbda3dd7373e8fef45b (diff)
downloadscummvm-rg350-3efe809e830f4a8563bef7bca761a53f4a95e110.tar.gz
scummvm-rg350-3efe809e830f4a8563bef7bca761a53f4a95e110.tar.bz2
scummvm-rg350-3efe809e830f4a8563bef7bca761a53f4a95e110.zip
Fix for language selection.
svn-id: r25071
-rw-r--r--engines/kyra/plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/plugin.cpp b/engines/kyra/plugin.cpp
index 4a66d4d281..0a7568b966 100644
--- a/engines/kyra/plugin.cpp
+++ b/engines/kyra/plugin.cpp
@@ -112,7 +112,7 @@ static bool setupGameFlags(const ADList &list, GameFlags &flags) {
flags.platform = platform;
}
Language lang = parseLanguage(ConfMan.get("language"));
- if (lang != UNK_LANG && flags.lang != UNK_LANG) {
+ if (lang != UNK_LANG && flags.lang == UNK_LANG) {
flags.lang = lang;
}