Fix bug #2827172: DRASCULA: Cursor appears ontop of ending and credits

svn-id: r49194
This commit is contained in:
Eugene Sandulenko 2010-05-24 16:59:06 +00:00
parent e39bf47717
commit afd909d69e
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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();
}