fixed base node issue that rendering without remap .

This commit is contained in:
Zero Fanker 2024-05-31 15:31:41 -04:00
parent 893427625d
commit 422019253d

View file

@ -734,7 +734,7 @@ __forceinline void BlitPicHalfTransp(void* dst, int x, int y, int dleft, int dto
void* dest = ((BYTE*)dst + (blrect.left + i) * bpp + (blrect.top + e) * dpitch);
//*dest=newPal[val];
if (dest >= dst) {
if (!color || newPal != iPalUnit || val < 0x10 || val>0x1f) {
if (!color || !pd.bHouseColor || val < 0x10 || val>0x1f) {
memcpy(dest, &newPal[val], bpp);
} else {
//int col=0;