From 3ff95001f538a2ff40c1cc22a89f4979d715bbb5 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 26 Sep 2009 22:15:56 +0000 Subject: [PATCH] - 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) --- src/textures/multipatchtexture.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/textures/multipatchtexture.cpp b/src/textures/multipatchtexture.cpp index 66c5276a3..2f83edd3f 100644 --- a/src/textures/multipatchtexture.cpp +++ b/src/textures/multipatchtexture.cpp @@ -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) {