diff options
author | Filippos Karapetis | 2010-11-12 00:01:13 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-11-12 00:01:13 +0000 |
commit | cc403e542d32e9094c20e7522fdae1bd42f32249 (patch) | |
tree | f9b4e1885fc49c6f0281fcf2e1f1e89a850a107a /engines/sci | |
parent | 77da22290d57ad6eaa01f8a9d1b42c4885ff894d (diff) | |
download | scummvm-rg350-cc403e542d32e9094c20e7522fdae1bd42f32249.tar.gz scummvm-rg350-cc403e542d32e9094c20e7522fdae1bd42f32249.tar.bz2 scummvm-rg350-cc403e542d32e9094c20e7522fdae1bd42f32249.zip |
SCI: Don't check for SCI2/SCI2.1 kernel types in SCI3 games.
Patch by lskovlun
svn-id: r54216
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/engine/kernel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kernel.cpp b/engines/sci/engine/kernel.cpp index 408dc5f150..c056de9949 100644 --- a/engines/sci/engine/kernel.cpp +++ b/engines/sci/engine/kernel.cpp @@ -836,7 +836,7 @@ void Kernel::setKernelNamesSci21(GameFeatures *features) { // version (2.100.002), yet they would not be compatible with other // games of the same interpreter. - if (features->detectSci21KernelType() == SCI_VERSION_2) { + if (getSciVersion() != SCI_VERSION_3 && features->detectSci21KernelType() == SCI_VERSION_2) { _kernelNames = Common::StringArray(sci2_default_knames, kKernelEntriesGk2Demo); // OnMe is IsOnMe here, but they should be compatible _kernelNames[0x23] = "Robot"; // Graph in SCI2 |