[Scummvm-cvs-logs] SF.net SVN: scummvm:[52845] scummvm/trunk/engines/drascula/converse.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Tue Sep 21 19:57:03 CEST 2010
Revision: 52845
http://scummvm.svn.sourceforge.net/scummvm/?rev=52845&view=rev
Author: eriktorbjorn
Date: 2010-09-21 17:57:02 +0000 (Tue, 21 Sep 2010)
Log Message:
-----------
DRASCULA: Fix bug #3069977 ("Grafic Glitches in text")
If response() loads an image into backSurface, we need to restore the
conversation charset to it once we're done. This may very well fix a
few other similar bugs, but I haven't verified that.
Modified Paths:
--------------
scummvm/trunk/engines/drascula/converse.cpp
Modified: scummvm/trunk/engines/drascula/converse.cpp
===================================================================
--- scummvm/trunk/engines/drascula/converse.cpp 2010-09-21 17:20:44 UTC (rev 52844)
+++ scummvm/trunk/engines/drascula/converse.cpp 2010-09-21 17:57:02 UTC (rev 52845)
@@ -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