aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/director/lingo/lingo-code.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo-code.cpp b/engines/director/lingo/lingo-code.cpp
index 28d2ed44cf..a39eb61a05 100644
--- a/engines/director/lingo/lingo-code.cpp
+++ b/engines/director/lingo/lingo-code.cpp
@@ -872,6 +872,7 @@ void Lingo::c_procret() {
debugC(5, kDebugLingoExec, "Popping frame %d", g_lingo->_callstack.size() + 1);
CFrame *fp = g_lingo->_callstack.back();
+ g_lingo->_callstack.pop_back();
g_lingo->_currentScript = fp->retscript;
g_lingo->_pc = fp->retpc;