mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-07-17 19:56:38 -04:00
resolved palette house color issue .
This commit is contained in:
parent
79856fabd8
commit
bdb9c28fe0
6 changed files with 36 additions and 20 deletions
|
@ -635,7 +635,7 @@ __forceinline void BlitPic(void* dst, int x, int y, int dleft, int dtop, int dpi
|
|||
|
||||
if (dest >= dst) {
|
||||
int c;
|
||||
if (!color || newPal != iPalUnit || val < houseColorMin || val > houseColorMax) {
|
||||
if (!color || !pd.bHouseColor || val < houseColorMin || val > houseColorMax) {
|
||||
c = newPal[val];
|
||||
} else {
|
||||
// Replace the original palette color with the house color
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue