diff options
author | Filippos Karapetis | 2007-07-30 23:30:08 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-07-30 23:30:08 +0000 |
commit | a09a95c99a6a7ccb7ef66c60dace493eefb3eb86 (patch) | |
tree | 0c917eeb686d7fddfa5acdcc4519dfae9b22925c /engines | |
parent | f77195a5cc319fead3821aba7fdcb16543b8fb98 (diff) | |
download | scummvm-rg350-a09a95c99a6a7ccb7ef66c60dace493eefb3eb86.tar.gz scummvm-rg350-a09a95c99a6a7ccb7ef66c60dace493eefb3eb86.tar.bz2 scummvm-rg350-a09a95c99a6a7ccb7ef66c60dace493eefb3eb86.zip |
sf92 is not null in the demo version of IHNM
svn-id: r28343
Diffstat (limited to 'engines')
-rw-r--r-- | engines/saga/script.h | 1 | ||||
-rw-r--r-- | engines/saga/sfuncs.cpp | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/engines/saga/script.h b/engines/saga/script.h index b9864fb227..04181ae7d2 100644 --- a/engines/saga/script.h +++ b/engines/saga/script.h @@ -596,6 +596,7 @@ private: void sf89(SCRIPTFUNC_PARAMS); void sfGetPoints(SCRIPTFUNC_PARAMS); void sfSetGlobalFlag(SCRIPTFUNC_PARAMS); + void sf92(SCRIPTFUNC_PARAMS); void sfClearGlobalFlag(SCRIPTFUNC_PARAMS); void sfTestGlobalFlag(SCRIPTFUNC_PARAMS); void sfSetPoints(SCRIPTFUNC_PARAMS); diff --git a/engines/saga/sfuncs.cpp b/engines/saga/sfuncs.cpp index bbbe7a35ac..b654d97fb1 100644 --- a/engines/saga/sfuncs.cpp +++ b/engines/saga/sfuncs.cpp @@ -230,7 +230,7 @@ static const ScriptFunctionDescription IHNMscriptFunctionsList[IHNM_SCRIPT_FUNCT OPCODE(sf89), OPCODE(sfVstopFX), OPCODE(sfVstopLoopedFX), - OPCODE(sfNull), + OPCODE(sf92), // only used in the demo version of IHNM OPCODE(sfDemoIsInteractive), OPCODE(sfVsetTrack), OPCODE(sfGetPoints), @@ -2109,6 +2109,11 @@ void Script::sfVstopLoopedFX(SCRIPTFUNC_PARAMS) { _vm->_sound->stopSound(); } +void Script::sf92(SCRIPTFUNC_PARAMS) { + SF_stub("sf92", thread, nArgs); + // This opcode is empty in the full version of IHNM, but it's not empty in the demo +} + void Script::sfDemoIsInteractive(SCRIPTFUNC_PARAMS) { thread->_returnValue = 0; } |