From 24f8bdf6792e572c0c2617d6d161f25dc12bf368 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 7 Nov 2004 15:16:57 +0000 Subject: Unstubbed SF_sceneID(). (Untested) svn-id: r15725 --- saga/sfuncs.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'saga') 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; } -- cgit v1.2.3