aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/builtin.cpp
diff options
context:
space:
mode:
authorSimei Yin2018-05-31 23:13:20 +0200
committerSimei Yin2018-05-31 23:15:09 +0200
commit8ead8de2846539fd68811937abdd1cbb94382ce0 (patch)
tree1c9d3bc2d3493e3090b1279ccdcb0d7a3057040e /engines/sludge/builtin.cpp
parentfa72209845740352e6f575f5afc1dd0da9d6a502 (diff)
downloadscummvm-rg350-8ead8de2846539fd68811937abdd1cbb94382ce0.tar.gz
scummvm-rg350-8ead8de2846539fd68811937abdd1cbb94382ce0.tar.bz2
scummvm-rg350-8ead8de2846539fd68811937abdd1cbb94382ce0.zip
SLUDGE: Move save game getter to StackHandler
Diffstat (limited to 'engines/sludge/builtin.cpp')
-rw-r--r--engines/sludge/builtin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sludge/builtin.cpp b/engines/sludge/builtin.cpp
index 6e4a953cd4..1030643788 100644
--- a/engines/sludge/builtin.cpp
+++ b/engines/sludge/builtin.cpp
@@ -215,7 +215,7 @@ builtIn(getMatchingFiles) {
fun->reg.varData.theStack->first = NULL;
fun->reg.varData.theStack->last = NULL;
fun->reg.varData.theStack->timesUsed = 1;
- if (!getSavedGamesStack(fun->reg.varData.theStack, newText))
+ if (!fun->reg.varData.theStack->getSavedGamesStack(newText))
return BR_ERROR;
return BR_CONTINUE;
}