Skip to content

Commit

Permalink
FIXED: The top of moving gates became glitched on levels using non-de…
Browse files Browse the repository at this point in the history
…fault palettes.
  • Loading branch information
NagyD committed Oct 24, 2020
1 parent c604eaa commit ad52f87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/ChangeLog.txt
Expand Up @@ -570,3 +570,4 @@ FIXED: The prince can now grab a ledge at the bottom right corner of a room with
FIXED: Don't allow killing a skeleton in cheat mode.
FIXED: Ctrl+S didn't mute music (except death music).
FIXED: A falling tile on the left side of a pillar could cause the blue stripe to be drawn over the pillar.
FIXED: The top of moving gates became glitched on levels using non-default palettes.
1 change: 1 addition & 0 deletions src/seg009.c
Expand Up @@ -3796,6 +3796,7 @@ void set_chtab_palette(chtab_type* chtab, byte* colors, int n_colors) {
// Color 0 of the palette data is not used, it is replaced by the background color.
// Needed for correct alternate colors (v1.3) of level 8.
scolors[0].r = scolors[0].g = scolors[0].b = 0;
scolors[0].a = SDL_ALPHA_TRANSPARENT;

//printf("setcolors\n",i);
for (i = 0; i < chtab->n_images; ++i) {
Expand Down

0 comments on commit ad52f87

Please sign in to comment.