feat: Update palette handling in dungeon editor and room rendering for improved graphics consistency

This commit is contained in:
scawful
2025-10-04 03:11:34 -04:00
parent bee1fc3923
commit 0b9c8900d3
2 changed files with 13 additions and 2 deletions

View File

@@ -312,7 +312,7 @@ void Room::RenderRoomGraphics() {
// Get the palette for this room - just use the 90-color palette as-is
// The SNES will index into this palette correctly without needing expansion
auto& dungeon_pal_group = rom()->mutable_palette_group()->get_group("dungeon_main")[0];
auto& dungeon_pal_group = rom()->mutable_palette_group()->dungeon_main;
int num_palettes = dungeon_pal_group.size();
int palette_id = palette;