diff options
author | Simei Yin | 2018-05-31 23:09:15 +0200 |
---|---|---|
committer | Simei Yin | 2018-05-31 23:15:09 +0200 |
commit | fa72209845740352e6f575f5afc1dd0da9d6a502 (patch) | |
tree | d0567308eace21f475d3160dfc15bd47bfdaba45 /engines/sludge/bg_effects.cpp | |
parent | 80478ee4704ea09c16c5728c957ea0096b923d05 (diff) | |
download | scummvm-rg350-fa72209845740352e6f575f5afc1dd0da9d6a502.tar.gz scummvm-rg350-fa72209845740352e6f575f5afc1dd0da9d6a502.tar.bz2 scummvm-rg350-fa72209845740352e6f575f5afc1dd0da9d6a502.zip |
SLUDGE: Move stack size getter to struct StackHandler
Diffstat (limited to 'engines/sludge/bg_effects.cpp')
-rw-r--r-- | engines/sludge/bg_effects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sludge/bg_effects.cpp b/engines/sludge/bg_effects.cpp index d02acebe4f..3f40fc81e1 100644 --- a/engines/sludge/bg_effects.cpp +++ b/engines/sludge/bg_effects.cpp @@ -166,7 +166,7 @@ bool blur_createSettings(int numParams, VariableStack *&stack) { error = "Third and subsequent parameters in setBackgroundEffect should be arrays"; break; } else { - int w = stackSize(justToCheckSizes->thisVar.varData.theStack); + int w = justToCheckSizes->thisVar.varData.theStack->getStackSize(); if (a) { if (w != width) { error = "Arrays in setBackgroundEffect must be the same size"; |