[Scummvm-cvs-logs] SF.net SVN: scummvm:[49194] scummvm/trunk/engines/drascula

sev at users.sourceforge.net sev at users.sourceforge.net
Mon May 24 18:59:06 CEST 2010


Revision: 49194
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49194&view=rev
Author:   sev
Date:     2010-05-24 16:59:06 +0000 (Mon, 24 May 2010)

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

Modified Paths:
--------------
    scummvm/trunk/engines/drascula/animation.cpp
    scummvm/trunk/engines/drascula/objects.cpp

Modified: scummvm/trunk/engines/drascula/animation.cpp
===================================================================
--- scummvm/trunk/engines/drascula/animation.cpp	2010-05-24 16:58:42 UTC (rev 49193)
+++ scummvm/trunk/engines/drascula/animation.cpp	2010-05-24 16:59:06 UTC (rev 49194)
@@ -1602,7 +1602,7 @@
 	// 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;

Modified: scummvm/trunk/engines/drascula/objects.cpp
===================================================================
--- scummvm/trunk/engines/drascula/objects.cpp	2010-05-24 16:58:42 UTC (rev 49193)
+++ scummvm/trunk/engines/drascula/objects.cpp	2010-05-24 16:59:06 UTC (rev 49194)
@@ -89,7 +89,8 @@
 	updateRoom();
 	updateScreen();
 
-	if (cursorVisible)
+	// roomNumber -2 is end credits. Do not show cursor there
+	if (cursorVisible && roomNumber != -2)
 		showCursor();
 }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list