diff options
author | Max Horn | 2007-02-03 22:42:45 +0000 |
---|---|---|
committer | Max Horn | 2007-02-03 22:42:45 +0000 |
commit | 35bfb505a6b8991eec0c589f30c9f4111c1daa8c (patch) | |
tree | f9b416e970e8b94653af085bf79fb8215f026373 /engines/kyra | |
parent | 37ac45607789d6166020b83fd97d00bdccd55f6a (diff) | |
download | scummvm-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/kyra')
-rw-r--r-- | engines/kyra/plugin.cpp | 3 |
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) { |