diff options
author | Filippos Karapetis | 2010-02-03 11:02:43 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-02-03 11:02:43 +0000 |
commit | 2fb37063a4ef85aa862b8fdf035d03f6b801679e (patch) | |
tree | b79cdb9e904ffa954d3ff86fef5eee5b616e10d5 /engines/sci/engine/script.cpp | |
parent | baf6b53431bbb1b5a630fd153fe3df350e3d16fd (diff) | |
download | scummvm-rg350-2fb37063a4ef85aa862b8fdf035d03f6b801679e.tar.gz scummvm-rg350-2fb37063a4ef85aa862b8fdf035d03f6b801679e.tar.bz2 scummvm-rg350-2fb37063a4ef85aa862b8fdf035d03f6b801679e.zip |
Placed all the game feature detection code in a separate class
svn-id: r47850
Diffstat (limited to 'engines/sci/engine/script.cpp')
-rw-r--r-- | engines/sci/engine/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/script.cpp b/engines/sci/engine/script.cpp index 32bc9182f3..58302b1aeb 100644 --- a/engines/sci/engine/script.cpp +++ b/engines/sci/engine/script.cpp @@ -95,7 +95,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->detectLofsType() != SCI_VERSION_0_EARLY) { + if (s->_features->detectLofsType() != SCI_VERSION_0_EARLY) { g_opcode_formats[op_lofsa][0] = Script_Offset; g_opcode_formats[op_lofss][0] = Script_Offset; } |