diff options
Diffstat (limited to 'engines/m4/script.cpp')
-rw-r--r-- | engines/m4/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/script.cpp b/engines/m4/script.cpp index 439c111ce9..243f073403 100644 --- a/engines/m4/script.cpp +++ b/engines/m4/script.cpp @@ -556,7 +556,7 @@ void ScriptInterpreter::callKernelFunction(uint32 index) { int args = (this->*(_kernelFunctions[index].proc))(); // Now remove values from the stack if the function used any - if (args > 4) + if (args > 4) _stackPtr -= args - 4; printf("-------------\n"); |