Skip to content

Commit

Permalink
Updating composite bitmaps when palette changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
MainMemory committed May 10, 2015
1 parent 1bcc60d commit 95734f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions SonLVLAPI/LevelData.cs
Expand Up @@ -2774,11 +2774,15 @@ public static void PaletteChanged()
item[0].Palette = BmpPal;
item[1].Palette = BmpPal;
}
foreach (Bitmap item in CompBlockBmps)
item.Palette = BmpPal;
foreach (Bitmap[] item in ChunkBmps)
{
item[0].Palette = BmpPal;
item[1].Palette = BmpPal;
}
foreach (Bitmap item in CompChunkBmps)
item.Palette = BmpPal;
PaletteChangedEvent();
}

Expand Down

0 comments on commit 95734f2

Please sign in to comment.