aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorFilippos Karapetis2009-09-22 09:00:32 +0000
committerFilippos Karapetis2009-09-22 09:00:32 +0000
commite331269a36dcc1a41e099948e191c6f8305e392b (patch)
tree1bf85c7e64a73e7f968d5cdeef6bbb667b4cbb6f /engines/sci/engine
parentaf7b2fc0187a21b9762a22a07597e745b2fbfb80 (diff)
downloadscummvm-rg350-e331269a36dcc1a41e099948e191c6f8305e392b.tar.gz
scummvm-rg350-e331269a36dcc1a41e099948e191c6f8305e392b.tar.bz2
scummvm-rg350-e331269a36dcc1a41e099948e191c6f8305e392b.zip
Removed unused variable
svn-id: r44249
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/savegame.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp
index 7126037c7b..9da1b709a0 100644
--- a/engines/sci/engine/savegame.cpp
+++ b/engines/sci/engine/savegame.cpp
@@ -592,7 +592,7 @@ static void load_script(EngineState *s, Script *scr) {
// FIXME: The following should likely become a SegManager method
static void reconstruct_scripts(EngineState *s, SegManager *self) {
- uint i, j;
+ uint i;
SegmentObj *mobj;
for (i = 0; i < self->_heap.size(); i++) {
@@ -660,7 +660,7 @@ static void reconstruct_scripts(EngineState *s, SegManager *self) {
if (!base_obj) {
warning("Object without a base class: Script %d, index %d (reg address %04x:%04x",
- scr->_nr, j, PRINT_REG(it->_value.getSpeciesSelector()));
+ scr->_nr, i, PRINT_REG(it->_value.getSpeciesSelector()));
continue;
}
it->_value.variable_names_nr = base_obj->_variables.size();