aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/workarounds.cpp
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2016-07-03 12:59:59 +0200
committerGitHub2016-07-03 12:59:59 +0200
commit02acf2e6ee8b3dca41090433ab811655e41fd8b6 (patch)
tree4629c75584b73fecd20684da90366b6bc551cf59 /engines/sci/engine/workarounds.cpp
parent6a1dbf97b4e724c2f12339eabf0849cc847ec641 (diff)
parent4b72a42da93da5560ecde38010d328196ff727fd (diff)
downloadscummvm-rg350-02acf2e6ee8b3dca41090433ab811655e41fd8b6.tar.gz
scummvm-rg350-02acf2e6ee8b3dca41090433ab811655e41fd8b6.tar.bz2
scummvm-rg350-02acf2e6ee8b3dca41090433ab811655e41fd8b6.zip
Merge pull request #741 from wjp/sci-call
SCI: Clean up some aspects of call handling
Diffstat (limited to 'engines/sci/engine/workarounds.cpp')
-rw-r--r--engines/sci/engine/workarounds.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/workarounds.cpp b/engines/sci/engine/workarounds.cpp
index 073bb93983..2a2540b470 100644
--- a/engines/sci/engine/workarounds.cpp
+++ b/engines/sci/engine/workarounds.cpp
@@ -780,7 +780,7 @@ SciWorkaroundSolution trackOriginAndFindWorkaround(int index, const SciWorkaroun
Common::List<ExecStack>::const_iterator callIterator = state->_executionStack.end();
while (callIterator != state->_executionStack.begin()) {
callIterator--;
- ExecStack loopCall = *callIterator;
+ const ExecStack &loopCall = *callIterator;
if ((loopCall.debugSelector != -1) || (loopCall.debugExportId != -1)) {
lastCall->debugSelector = loopCall.debugSelector;
lastCall->debugExportId = loopCall.debugExportId;