[Scummvm-cvs-logs] SF.net SVN: scummvm:[39226] scummvm/trunk/engines/sci/gfx/operations.cpp
wjpalenstijn at users.sourceforge.net
wjpalenstijn at users.sourceforge.net
Sun Mar 8 14:43:11 CET 2009
Revision: 39226
http://scummvm.svn.sourceforge.net/scummvm/?rev=39226&view=rev
Author: wjpalenstijn
Date: 2009-03-08 13:43:11 +0000 (Sun, 08 Mar 2009)
Log Message:
-----------
Fix boxes not blocking control/priority map.
This is a regression from r39089 and caused text to be hidden behind
trees in the KQ5 introduction and missing text in longbow.
Modified Paths:
--------------
scummvm/trunk/engines/sci/gfx/operations.cpp
Modified: scummvm/trunk/engines/sci/gfx/operations.cpp
===================================================================
--- scummvm/trunk/engines/sci/gfx/operations.cpp 2009-03-08 13:32:27 UTC (rev 39225)
+++ scummvm/trunk/engines/sci/gfx/operations.cpp 2009-03-08 13:43:11 UTC (rev 39226)
@@ -1087,6 +1087,8 @@
// Reverse offset if we have to interpret colors inversely
if (shade_type == GFX_BOX_SHADE_FLAT) {
+ color1.priority = 0;
+ color1.control = 0;
if (color1.visual.global_index == GFX_COLOR_INDEX_UNMAPPED)
gfxop_set_color(state, &color1, color1);
return drv->draw_filled_rect(drv, new_box, color1, color1, GFX_SHADE_FLAT);
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