aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2007-07-08 20:46:21 +0000
committerFilippos Karapetis2007-07-08 20:46:21 +0000
commit697f945e002246226631e8734fb01d96736fd770 (patch)
tree65200410987e9297a839a10d700edfa35535d6bd /engines
parenta641ee4fbe8b82333131bdde1b25a9b7593440cf (diff)
downloadscummvm-rg350-697f945e002246226631e8734fb01d96736fd770.tar.gz
scummvm-rg350-697f945e002246226631e8734fb01d96736fd770.tar.bz2
scummvm-rg350-697f945e002246226631e8734fb01d96736fd770.zip
Reverted commit 27948. Cutaways in sfScriptGotoScene are cleared by calling clearcutaway directly again, as calling it using an event does not clear the cutaway when it should (which caused problems in the character selection screen)
svn-id: r27976
Diffstat (limited to 'engines')
-rw-r--r--engines/saga/sfuncs.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/engines/saga/sfuncs.cpp b/engines/saga/sfuncs.cpp
index 4954188a6e..4b30d0b406 100644
--- a/engines/saga/sfuncs.cpp
+++ b/engines/saga/sfuncs.cpp
@@ -565,13 +565,7 @@ void Script::sfScriptGotoScene(SCRIPTFUNC_PARAMS) {
// Since it doesn't look like the IHNM scripts remove the
// cutaway after the intro, this is probably the best place to
// to it.
- Event event;
- event.type = kEvTImmediate;
- event.code = kCutawayEvent;
- event.op = kEventClear;
- event.time = 0;
- event.duration = 0;
- _vm->_events->queue(&event);
+ _vm->_anim->clearCutaway();
}
// It is possible to leave scene when converse panel is on,