aboutsummaryrefslogtreecommitdiff
path: root/saga
diff options
context:
space:
mode:
Diffstat (limited to 'saga')
-rw-r--r--saga/sfuncs.cpp6
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;
}