aboutsummaryrefslogtreecommitdiff
path: root/saga/sfuncs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'saga/sfuncs.cpp')
-rw-r--r--saga/sfuncs.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/saga/sfuncs.cpp b/saga/sfuncs.cpp
index 65f9822ee6..a4846e4189 100644
--- a/saga/sfuncs.cpp
+++ b/saga/sfuncs.cpp
@@ -251,6 +251,8 @@ int Script::SF_faceTowards(R_SCRIPTFUNC_PARAMS) {
// Script function #15
int Script::SF_setFollower(R_SCRIPTFUNC_PARAMS) {
+ thread->stack->pop();
+ thread->stack->pop();
return R_SUCCESS;
}
@@ -363,6 +365,8 @@ int Script::SF_moveTo(R_SCRIPTFUNC_PARAMS) {
// Script function #34
int Script::SF_swapActors(R_SCRIPTFUNC_PARAMS) {
+ thread->stack->pop();
+ thread->stack->pop();
return R_SUCCESS;
}