From 13fa1b22a20966f3ddbcb9b2a5e48e7232250239 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Tue, 4 Jul 2017 19:42:01 +0200 Subject: 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. --- engines/mohawk/riven_stacks/gspit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/mohawk') 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(); -- cgit v1.2.3