mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-05-11 22:13:16 -04:00
fixed base node issue that rendering without remap .
This commit is contained in:
parent
893427625d
commit
422019253d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue