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/script.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/script.cpp')
| -rw-r--r-- | engines/sci/engine/script.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/engine/script.cpp b/engines/sci/engine/script.cpp index 58302b1aeb..b09462e70c 100644 --- a/engines/sci/engine/script.cpp +++ b/engines/sci/engine/script.cpp @@ -25,6 +25,7 @@ #include "sci/sci.h" #include "sci/resource.h" +#include "sci/engine/features.h" #include "sci/engine/state.h" #include "sci/engine/kernel.h" #include "sci/engine/script.h" @@ -95,7 +96,7 @@ opcode_format g_opcode_formats[128][4] = { // constructor (?) of a VirtualMachine or a ScriptManager class. void script_adjust_opcode_formats(EngineState *s) { // TODO: Check that this is correct - if (s->_features->detectLofsType() != SCI_VERSION_0_EARLY) { + if (g_sci->_features->detectLofsType() != SCI_VERSION_0_EARLY) { g_opcode_formats[op_lofsa][0] = Script_Offset; g_opcode_formats[op_lofss][0] = Script_Offset; } |
