aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2010-05-19 17:11:15 +0000
committerFilippos Karapetis2010-05-19 17:11:15 +0000
commit92c1f4625d7a8e7b119dc005539145f59ce6c49b (patch)
treeabf0a3effccb11f0a82392dd09d34862782c42a7 /engines/sci
parentcbee7eebd4736a91400bc3df65d28215cb916aa9 (diff)
downloadscummvm-rg350-92c1f4625d7a8e7b119dc005539145f59ce6c49b.tar.gz
scummvm-rg350-92c1f4625d7a8e7b119dc005539145f59ce6c49b.tar.bz2
scummvm-rg350-92c1f4625d7a8e7b119dc005539145f59ce6c49b.zip
Fixed silly typo in #49099. Iceman works again (thanks m_kiewitz)
svn-id: r49104
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/script.cpp b/engines/sci/engine/script.cpp
index d680280640..85a07f0efc 100644
--- a/engines/sci/engine/script.cpp
+++ b/engines/sci/engine/script.cpp
@@ -470,7 +470,7 @@ int script_instantiate_sci0(ResourceManager *resMan, SegManager *segMan, int scr
if (relocation >= 0)
scr->scriptRelocate(make_reg(seg_id, relocation));
- return curOffset; // instantiation successful
+ return seg_id; // instantiation successful
}
int script_instantiate_sci11(ResourceManager *resMan, SegManager *segMan, int script_nr) {