Fix raised colors in Snake Nest

This commit is contained in:
Jesse Ruderman 2021-08-02 19:40:05 -07:00
parent 74ae7a72c5
commit 07035f3c09
1 changed files with 3 additions and 1 deletions

View File

@ -3362,7 +3362,9 @@ ld wavefun(ld x) {
else return 0; */
}
EX colortable nestcolors = { 0x7F0000, 0x007F00, 0x00007F, 0x404040, 0x700070, 0x007070, 0x707000, 0x606060 };
// Color components in nestcolors must be less than 0x80 (for addition in drawMonster for Rock Snakes)
// and must be divisible by 4 (for brightening of raised cells in celldrawer::setcolors)
EX colortable nestcolors = { 0x7C0000, 0x007C00, 0x00007C, 0x404040, 0x700070, 0x007070, 0x707000, 0x606060 };
color_t floorcolors[landtypes];