[Scummvm-cvs-logs] SF.net SVN: scummvm:[52846] scummvm/branches/branch-1-2-0/engines/drascula/ converse.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Tue Sep 21 19:58:09 CEST 2010


Revision: 52846
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52846&view=rev
Author:   eriktorbjorn
Date:     2010-09-21 17:58:09 +0000 (Tue, 21 Sep 2010)

Log Message:
-----------
DRASCULA: Fix bug #3069977 ("Grafic Glitches in text")

Backported from the trunk. May fix some other similar bugs, but I
haven't verified that. May be a good idea to replay the game, but
I'm not very familiar with it myself.

Modified Paths:
--------------
    scummvm/branches/branch-1-2-0/engines/drascula/converse.cpp

Modified: scummvm/branches/branch-1-2-0/engines/drascula/converse.cpp
===================================================================
--- scummvm/branches/branch-1-2-0/engines/drascula/converse.cpp	2010-09-21 17:57:02 UTC (rev 52845)
+++ scummvm/branches/branch-1-2-0/engines/drascula/converse.cpp	2010-09-21 17:58:09 UTC (rev 52846)
@@ -287,8 +287,12 @@
 		playTalkSequence(function);
 
 	if (currentChapter == 2) {
-		if (function == 16 || function == 20 || function == 23 || function == 29 || function == 31)
+		bool reloadConversationCharset = false;
+
+		if (function == 16 || function == 20 || function == 23 || function == 29 || function == 31) {
+			reloadConversationCharset = true;
 			loadPic(menuBackground, backSurface);
+		}
 
 		if (function == 16)
 			animation_16_2();
@@ -300,6 +304,9 @@
 			animation_29_2();
 		else if (function == 31)
 			animation_31_2();
+
+		if (reloadConversationCharset)
+			loadPic("car.alg", backSurface);
 	} else if (currentChapter == 3) {
 		grr();
 	}


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