aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2010-05-24 16:59:06 +0000
committerEugene Sandulenko2010-05-24 16:59:06 +0000
commitafd909d69e461f42b454e8b6ff89cdca145890be (patch)
treeabacdc1d1d5e4eac55e242777aad7b9f877a8b15 /engines
parente39bf477173d6f0f75ddaf827338ebe0d4195525 (diff)
downloadscummvm-rg350-afd909d69e461f42b454e8b6ff89cdca145890be.tar.gz
scummvm-rg350-afd909d69e461f42b454e8b6ff89cdca145890be.tar.bz2
scummvm-rg350-afd909d69e461f42b454e8b6ff89cdca145890be.zip
Fix bug #2827172: DRASCULA: Cursor appears ontop of ending and credits
svn-id: r49194
Diffstat (limited to 'engines')
-rw-r--r--engines/drascula/animation.cpp2
-rw-r--r--engines/drascula/objects.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/engines/drascula/animation.cpp b/engines/drascula/animation.cpp
index 4a0b82d746..e4bd844d75 100644
--- a/engines/drascula/animation.cpp
+++ b/engines/drascula/animation.cpp
@@ -1602,7 +1602,7 @@ void DrasculaEngine::animation_9_6() {
// We set the room number to -1 for the same purpose.
// Also check animation_2_1(), where the same hack was used
// by the original
- roomNumber = -1;
+ roomNumber = -2;
loadPic("nota2.alg", bgSurface, HALF_PAL);
black();
trackProtagonist = 1;
diff --git a/engines/drascula/objects.cpp b/engines/drascula/objects.cpp
index c4dc3df1f6..13c8a742ca 100644
--- a/engines/drascula/objects.cpp
+++ b/engines/drascula/objects.cpp
@@ -89,7 +89,8 @@ void DrasculaEngine::gotoObject(int pointX, int pointY) {
updateRoom();
updateScreen();
- if (cursorVisible)
+ // roomNumber -2 is end credits. Do not show cursor there
+ if (cursorVisible && roomNumber != -2)
showCursor();
}