[Scummvm-cvs-logs] SF.net SVN: scummvm: [30297] scummvm/branches/branch-0-11-0/engines/scumm/ gfx.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Sun Jan 6 14:30:44 CET 2008


Revision: 30297
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30297&view=rev
Author:   Kirben
Date:     2008-01-06 05:30:44 -0800 (Sun, 06 Jan 2008)

Log Message:
-----------
Backport fix for regression in Let's Explore the Farm with Buzzy demo.

Modified Paths:
--------------
    scummvm/branches/branch-0-11-0/engines/scumm/gfx.cpp

Modified: scummvm/branches/branch-0-11-0/engines/scumm/gfx.cpp
===================================================================
--- scummvm/branches/branch-0-11-0/engines/scumm/gfx.cpp	2008-01-06 13:27:42 UTC (rev 30296)
+++ scummvm/branches/branch-0-11-0/engines/scumm/gfx.cpp	2008-01-06 13:30:44 UTC (rev 30297)
@@ -1175,7 +1175,7 @@
 			byte *mask = (byte *)_textSurface.getBasePtr(x * _textSurfaceMultiplier, (y - _screenTop) * _textSurfaceMultiplier);
 			fill(mask, _textSurface.pitch, CHARSET_MASK_TRANSPARENCY, width * _textSurfaceMultiplier, height * _textSurfaceMultiplier);
 		}
-	} else if (_game.heversion >= 71) {
+	} else if (_game.heversion >= 72) {
 		// Flags are used for different methods in HE games
 		uint32 flags = color;
 		if ((flags & 0x2000) || (flags & 0x4000000)) {
@@ -1189,7 +1189,7 @@
 		} else {
 			fill(backbuff, vs->pitch, flags, width, height);
 		}
-	} else if (_game.version >= 60) {
+	} else if (_game.heversion >= 60) {
 		// Flags are used for different methods in HE games
 		uint16 flags = color;
 		if (flags & 0x2000) {


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