Skip to content

Commit

Permalink
SCI: Remove unneeded copy
Browse files Browse the repository at this point in the history
  • Loading branch information
wjp committed Jul 2, 2016
1 parent 948e448 commit 9f2fff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/sci/engine/workarounds.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 9f2fff4

Please sign in to comment.