aboutsummaryrefslogtreecommitdiff
path: root/saga/sfuncs.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-10-03 10:01:09 +0000
committerTorbjörn Andersson2005-10-03 10:01:09 +0000
commit4823f41b15ef8ef5a67c945672c74bf3c016e424 (patch)
tree1d73cd32ac9c86f882fc531c5100ac7cb9fa5b84 /saga/sfuncs.cpp
parent697374497b830e1d72ed137e6362f6f5aeb7f83e (diff)
downloadscummvm-rg350-4823f41b15ef8ef5a67c945672c74bf3c016e424.tar.gz
scummvm-rg350-4823f41b15ef8ef5a67c945672c74bf3c016e424.tar.bz2
scummvm-rg350-4823f41b15ef8ef5a67c945672c74bf3c016e424.zip
Experimental IHNM fix: Since it looks like the intro doesn't clear the
cutaway explicitly, perhaps it's done implicitly by sfScriptGotoScene instead? svn-id: r18927
Diffstat (limited to 'saga/sfuncs.cpp')
-rw-r--r--saga/sfuncs.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/saga/sfuncs.cpp b/saga/sfuncs.cpp
index b0508cba08..661f92cfc3 100644
--- a/saga/sfuncs.cpp
+++ b/saga/sfuncs.cpp
@@ -547,9 +547,15 @@ void Script::sfScriptGotoScene(SCRIPTFUNC_PARAMS) {
return;
}
- if (_vm->getGameType() == GType_IHNM)
+ if (_vm->getGameType() == GType_IHNM) {
warning("FIXME: implement sfScriptGotoScene differences for IHNM");
+ // Since it doesn't look like the IHNM scripts remove the
+ // cutaway after the intro, this is probably the best place to
+ // to it.
+ _vm->_anim->clearCutaway();
+ }
+
// It is possible to leave scene when converse panel is on,
// particulalrly it may happen at Moneychanger tent. This
// prevent this from happening.