diff options
author | Simei Yin | 2018-05-31 23:04:14 +0200 |
---|---|---|
committer | Simei Yin | 2018-05-31 23:15:09 +0200 |
commit | 80478ee4704ea09c16c5728c957ea0096b923d05 (patch) | |
tree | 16e33ae6bef2b50cce1e55ed7ceaa86d005387ae /engines/sludge/builtin.cpp | |
parent | ca583ebfcfc420d0b303256a9a088bb2327ea907 (diff) | |
download | scummvm-rg350-80478ee4704ea09c16c5728c957ea0096b923d05.tar.gz scummvm-rg350-80478ee4704ea09c16c5728c957ea0096b923d05.tar.bz2 scummvm-rg350-80478ee4704ea09c16c5728c957ea0096b923d05.zip |
SLUDGE: Move copyStack() to struct Variable
Diffstat (limited to 'engines/sludge/builtin.cpp')
-rw-r--r-- | engines/sludge/builtin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sludge/builtin.cpp b/engines/sludge/builtin.cpp index bf7c4228d3..c7b66d6dc6 100644 --- a/engines/sludge/builtin.cpp +++ b/engines/sludge/builtin.cpp @@ -551,7 +551,7 @@ builtIn(copyStack) { return BR_ERROR; } // Return value - if (!copyStack(fun->stack->thisVar, fun->reg)) + if (!fun->reg.copyStack(fun->stack->thisVar)) return BR_ERROR; trimStack(fun->stack); return BR_CONTINUE; |