From 891a20d4e9b76668c602c4e298ac411695d5a3af Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Tue, 10 Dec 2024 20:33:17 +0100 Subject: [PATCH] fixed two color template default colors currently not editable --- src/game_bd/bd_graphics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game_bd/bd_graphics.c b/src/game_bd/bd_graphics.c index 8c32e1e1..bf469f80 100644 --- a/src/game_bd/bd_graphics.c +++ b/src/game_bd/bd_graphics.c @@ -348,8 +348,8 @@ static SDL_Surface *get_colored_surface_from_template(GdCave *cave, SDL_Surface color[3] = get_template_color(cave->color3); // replace yellow color[4] = get_template_color(cave->color5); // replace blue color[5] = get_template_color(cave->color2); // replace purple - color[6] = get_template_color(0); // replace cyan - color[7] = get_template_color(0); // replace white + color[6] = get_template_color(GD_GDASH_GRAY2); // replace cyan + color[7] = get_template_color(GD_GDASH_WHITE); // replace white for (y = 0; y < height; y++) { -- 2.34.1