aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
diff options
context:
space:
mode:
authorBastien Bouclet2017-07-04 19:42:01 +0200
committerBastien Bouclet2017-07-04 19:43:32 +0200
commit13fa1b22a20966f3ddbcb9b2a5e48e7232250239 (patch)
tree1dda27311fa2d011fecdc05a650f4bfd05c4bfa2 /engines/mohawk
parent02dec192988b918812a78988cc70c4cdb2af0acc (diff)
downloadscummvm-rg350-13fa1b22a20966f3ddbcb9b2a5e48e7232250239.tar.gz
scummvm-rg350-13fa1b22a20966f3ddbcb9b2a5e48e7232250239.tar.bz2
scummvm-rg350-13fa1b22a20966f3ddbcb9b2a5e48e7232250239.zip
MOHAWK: Only disable videos when turning off the prison viewer
Closing them was causing a crash when using the lake viewer since there is nothing to load back the lake video. Fixes Trac#9892.
Diffstat (limited to 'engines/mohawk')
-rw-r--r--engines/mohawk/riven_stacks/gspit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/riven_stacks/gspit.cpp b/engines/mohawk/riven_stacks/gspit.cpp
index 5c36e88c93..1e3441a6a7 100644
--- a/engines/mohawk/riven_stacks/gspit.cpp
+++ b/engines/mohawk/riven_stacks/gspit.cpp
@@ -486,7 +486,7 @@ void GSpit::xglview_prisonoff(const ArgumentArray &args) {
removeTimer();
// Play the 'turn off' movie after stopping any videos still playing
- _vm->_video->closeVideos();
+ _vm->_video->disableAllMovies();
RivenVideo *video = _vm->_video->openSlot(5);
video->playBlocking();