diff options
author | Torbjörn Andersson | 2004-11-07 15:16:57 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-11-07 15:16:57 +0000 |
commit | 24f8bdf6792e572c0c2617d6d161f25dc12bf368 (patch) | |
tree | 4202cf494e8dccc295e3bd947ec6292f94c66d70 /saga | |
parent | 18abe168cedb8a332d69dabe661c0edf9847e229 (diff) | |
download | scummvm-rg350-24f8bdf6792e572c0c2617d6d161f25dc12bf368.tar.gz scummvm-rg350-24f8bdf6792e572c0c2617d6d161f25dc12bf368.tar.bz2 scummvm-rg350-24f8bdf6792e572c0c2617d6d161f25dc12bf368.zip |
Unstubbed SF_sceneID(). (Untested)
svn-id: r15725
Diffstat (limited to 'saga')
-rw-r--r-- | saga/sfuncs.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/saga/sfuncs.cpp b/saga/sfuncs.cpp index 19f2e13262..5068456610 100644 --- a/saga/sfuncs.cpp +++ b/saga/sfuncs.cpp @@ -552,7 +552,6 @@ int Script::SF_sceneEq(SCRIPTFUNC_PARAMS) { return SUCCESS; } - // Script function #32 (0x20) int Script::SF_dropObject(SCRIPTFUNC_PARAMS) { SDataWord_T obj_param = thread->pop(); @@ -915,10 +914,7 @@ int Script::SF_waitWalk(SCRIPTFUNC_PARAMS) { // Script function #54 (0x36) int Script::SF_sceneID(SCRIPTFUNC_PARAMS) { - for (int i = 0; i < nArgs; i++) - thread->pop(); - - debug(1, "stub: SF_sceneID(), %d args", nArgs); + thread->retVal = _vm->_scene->currentSceneNumber(); return SUCCESS; } |