SCI: Don't check for SCI2/SCI2.1 kernel types in SCI3 games.

Patch by lskovlun

svn-id: r54216
This commit is contained in:
Filippos Karapetis 2010-11-12 00:01:13 +00:00
parent 77da22290d
commit cc403e542d

View File

@ -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