diff options
| author | Max Horn | 2010-02-13 17:44:58 +0000 |
|---|---|---|
| committer | Max Horn | 2010-02-13 17:44:58 +0000 |
| commit | 9575cc08a2d54af57ada390f0f736d64857a49d1 (patch) | |
| tree | e2966a582ffb7b9828c25e0ce25fa991d6586836 /engines/sci/engine/kernel32.cpp | |
| parent | a82939c9bee20f2969f1006c1c9a836cea5c7903 (diff) | |
| download | scummvm-rg350-9575cc08a2d54af57ada390f0f736d64857a49d1.tar.gz scummvm-rg350-9575cc08a2d54af57ada390f0f736d64857a49d1.tar.bz2 scummvm-rg350-9575cc08a2d54af57ada390f0f736d64857a49d1.zip | |
SCI: Move GameFeatures from EngineState to SciEngine
svn-id: r48049
Diffstat (limited to 'engines/sci/engine/kernel32.cpp')
| -rw-r--r-- | engines/sci/engine/kernel32.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/engine/kernel32.cpp b/engines/sci/engine/kernel32.cpp index 035388cbc2..f37631ec80 100644 --- a/engines/sci/engine/kernel32.cpp +++ b/engines/sci/engine/kernel32.cpp @@ -25,6 +25,7 @@ #ifdef ENABLE_SCI32 +#include "sci/engine/features.h" #include "sci/engine/kernel.h" #include "sci/engine/segment.h" #include "sci/engine/state.h" @@ -383,7 +384,7 @@ void Kernel::setKernelNamesSci21(EngineState *s) { // This is interesting because they all have the same interpreter version (2.100.002), yet // they would not be compatible with other games of the same interpreter. - if (s->_features->detectSci21KernelType() == SCI_VERSION_2) { + if (g_sci->_features->detectSci21KernelType() == SCI_VERSION_2) { _kernelNames = Common::StringList(sci2_default_knames, kKernelEntriesGk2Demo); // OnMe is IsOnMe here, but they should be compatible _kernelNames[0x23] = "Robot"; // Graph in SCI2 |
