From 3d2509a89c1a1fa668532ed71c99b21a255e7046 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Thu, 26 Apr 2018 22:12:58 +0200 Subject: MOHAWK: MYST: Reset the main cursor when starting the credits The credit stack does not have the data required to display all the cursors, especially the page cursors. Fixes Trac#10501. --- engines/mohawk/myst_stacks/credits.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines/mohawk/myst_stacks/credits.cpp') diff --git a/engines/mohawk/myst_stacks/credits.cpp b/engines/mohawk/myst_stacks/credits.cpp index 2d3b3669c2..5daa73d106 100644 --- a/engines/mohawk/myst_stacks/credits.cpp +++ b/engines/mohawk/myst_stacks/credits.cpp @@ -23,6 +23,7 @@ #include "mohawk/myst.h" #include "mohawk/myst_areas.h" #include "mohawk/myst_graphics.h" +#include "mohawk/cursors.h" #include "mohawk/sound.h" #include "mohawk/video.h" #include "mohawk/myst_stacks/credits.h" @@ -89,6 +90,10 @@ uint16 Credits::getVar(uint16 var) { } void Credits::o_runCredits(uint16 var, const ArgumentsArray &args) { + // The credits stack does not have all the cursors, reset to the default cursor. + _globals.heldPage = kNoPage; + _vm->setMainCursor(kDefaultMystCursor); + // Activate the credits _creditsRunning = true; _curImage = 0; -- cgit v1.2.3