[Scummvm-cvs-logs] SF.net SVN: scummvm: [30091] scummvm/trunk/engines/scumm/gfx.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Mon Dec 31 02:20:24 CET 2007


Revision: 30091
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30091&view=rev
Author:   eriktorbjorn
Date:     2007-12-30 17:20:24 -0800 (Sun, 30 Dec 2007)

Log Message:
-----------
I thought only Full Throttle used the VAR_BLAST_ABOVE_TEXT variable, but I see
now that it's defined for v8 games as well, so call processUpperActors() from
that case too, just to be safe.

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/gfx.cpp

Modified: scummvm/trunk/engines/scumm/gfx.cpp
===================================================================
--- scummvm/trunk/engines/scumm/gfx.cpp	2007-12-31 00:22:37 UTC (rev 30090)
+++ scummvm/trunk/engines/scumm/gfx.cpp	2007-12-31 01:20:24 UTC (rev 30091)
@@ -482,6 +482,12 @@
 	if (_game.version >= 7 && VAR(VAR_BLAST_ABOVE_TEXT) == 1) {
 		drawBlastTexts();
 		drawBlastObjects();
+		if (_game.version == 8) {
+			// Does this case ever happen? We need to draw the
+			// actor over the blast object, so we're forced to
+			// also draw it over the subtitles.
+			processUpperActors();
+		}
 	} else {
 		drawBlastObjects();
 		if (_game.version == 8) {


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