mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 22:11:43 +00:00
- 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:
parent
d816747c7e
commit
3ff95001f5
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue