aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2007-02-03 22:42:45 +0000
committerMax Horn2007-02-03 22:42:45 +0000
commit35bfb505a6b8991eec0c589f30c9f4111c1daa8c (patch)
treef9b416e970e8b94653af085bf79fb8215f026373 /engines
parent37ac45607789d6166020b83fd97d00bdccd55f6a (diff)
downloadscummvm-rg350-35bfb505a6b8991eec0c589f30c9f4111c1daa8c.tar.gz
scummvm-rg350-35bfb505a6b8991eec0c589f30c9f4111c1daa8c.tar.bz2
scummvm-rg350-35bfb505a6b8991eec0c589f30c9f4111c1daa8c.zip
Use the platform/language values computed by the detector
svn-id: r25365
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/plugin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/kyra/plugin.cpp b/engines/kyra/plugin.cpp
index b0614e2553..6f497e3a61 100644
--- a/engines/kyra/plugin.cpp
+++ b/engines/kyra/plugin.cpp
@@ -126,6 +126,9 @@ PluginError Engine_KYRA_create(OSystem *syst, Engine **engine) {
}
Kyra::GameFlags flags = adGameDescs[id].flags;
+
+ flags.lang = adGameDescs[id].desc.language;
+ flags.platform = adGameDescs[id].desc.platform;
Common::Platform platform = Common::parsePlatform(ConfMan.get("platform"));
if (platform != Common::kPlatformUnknown) {