aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorColin Snover2016-11-26 17:59:33 -0600
committerColin Snover2016-12-03 12:21:56 -0600
commite0c7ee1a9c3feebb3a0ccb0de4f27026309951dc (patch)
tree9baf67a88ffc22c3bdbd5a208f6dfbc53180e850 /engines/sci/engine
parent1337e82b0bdaa76a7c78554cd8316e0aa9628dac (diff)
downloadscummvm-rg350-e0c7ee1a9c3feebb3a0ccb0de4f27026309951dc.tar.gz
scummvm-rg350-e0c7ee1a9c3feebb3a0ccb0de4f27026309951dc.tar.bz2
scummvm-rg350-e0c7ee1a9c3feebb3a0ccb0de4f27026309951dc.zip
SCI: Remove unnecessary duplicate shadowing variable
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/vm.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index 92228fd38a..8e407a6ab9 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -1207,7 +1207,6 @@ void run_vm(EngineState *s) {
case op_lofsa: // 0x39 (57)
case op_lofss: { // 0x3a (58)
// Load offset to accumulator or push to stack
- Script *local_script = s->_segMan->getScriptIfLoaded(s->xs->local_segment);
r_temp.setSegment(s->xs->addr.pc.getSegment());
r_temp.setOffset(findOffset(opparams[0], local_script, s->xs->addr.pc.getOffset()));