- fixed: The changes for new colormap handling in FMultipatchtexture were incomplete.

Some code was still checking Blend.r instead of the full variable for colormap indices.



SVN r1879 (trunk)
This commit is contained in:
Christoph Oelckers 2009-09-26 22:15:56 +00:00
parent d816747c7e
commit 3ff95001f5
1 changed files with 2 additions and 2 deletions

View File

@ -576,9 +576,9 @@ int FMultiPatchTexture::CopyTrueColorPixels(FBitmap *bmp, int x, int y, int w, i
else
{
PalEntry b = Parts[i].Blend;
if (b.a == 0 && b.r != BLEND_NONE)
if (b.a == 0 && b != BLEND_NONE)
{
info.blend = EBlend(b.r);
info.blend = EBlend(b.d);
}
else if (b.a != 0)
{