diff options
author | Simei Yin | 2018-05-31 23:13:20 +0200 |
---|---|---|
committer | Simei Yin | 2018-05-31 23:15:09 +0200 |
commit | 8ead8de2846539fd68811937abdd1cbb94382ce0 (patch) | |
tree | 1c9d3bc2d3493e3090b1279ccdcb0d7a3057040e /engines/sludge/builtin.cpp | |
parent | fa72209845740352e6f575f5afc1dd0da9d6a502 (diff) | |
download | scummvm-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.cpp | 2 |
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; } |