aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2013-05-03 08:22:05 +0200
committerStrangerke2013-05-03 08:22:56 +0200
commit874b96b409ae32d881635c960c1790434b2793da (patch)
tree3ebc83aa8a6e498c3f83b68eb57be9901b2ca181
parent0031c41db855ac4bebd05ca1b2c1fa6694242979 (diff)
downloadscummvm-rg350-874b96b409ae32d881635c960c1790434b2793da.tar.gz
scummvm-rg350-874b96b409ae32d881635c960c1790434b2793da.tar.bz2
scummvm-rg350-874b96b409ae32d881635c960c1790434b2793da.zip
HOPKINS: Fix bug #3612114 - Mouse accidentally enabled during intro, leading to graphic corruption
-rw-r--r--engines/hopkins/hopkins.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/hopkins/hopkins.cpp b/engines/hopkins/hopkins.cpp
index 7835d3784e..a778b84b88 100644
--- a/engines/hopkins/hopkins.cpp
+++ b/engines/hopkins/hopkins.cpp
@@ -1595,22 +1595,25 @@ void HopkinsEngine::playIntro() {
_events->refreshScreenAndEvents();
_soundMan->playSound(16);
_animMan->setClearAnimFlag();
+
_animMan->playAnim("J1.ANM", "J1.ANM", 12, 12, 50);
if (shouldQuit() || _events->_escKeyFl)
return;
-
+ _events->mouseOff();
_soundMan->mixVoice(1, 3);
_animMan->playAnim("J2.ANM", "J2.ANM", 12, 12, 50);
if (shouldQuit() || _events->_escKeyFl)
return;
+ _events->mouseOff();
_soundMan->mixVoice(2, 3);
_animMan->playAnim("J3.ANM", "J3.ANM", 12, 12, 50);
if (shouldQuit() || _events->_escKeyFl)
return;
+ _events->mouseOff();
_soundMan->mixVoice(3, 3);
_graphicsMan->clearScreen();
_graphicsMan->clearPalette();