aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_print_list.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-05 17:26:10 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-05 17:26:10 +0100
commit08dce587032f08c5bfbc2790bdb2d668ca1990c1 (patch)
treea927bf674dfa6d1d3efd03ef06dfacb115ae238f /src/ft_print_list.c
parentmap fix (diff)
download42-cub3d-08dce587032f08c5bfbc2790bdb2d668ca1990c1.tar.gz
42-cub3d-08dce587032f08c5bfbc2790bdb2d668ca1990c1.tar.bz2
42-cub3d-08dce587032f08c5bfbc2790bdb2d668ca1990c1.tar.xz
42-cub3d-08dce587032f08c5bfbc2790bdb2d668ca1990c1.tar.zst
42-cub3d-08dce587032f08c5bfbc2790bdb2d668ca1990c1.zip
int16_tamer
Diffstat (limited to 'src/ft_print_list.c')
-rw-r--r--src/ft_print_list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_print_list.c b/src/ft_print_list.c
index 4e9e8d7..6c2b702 100644
--- a/src/ft_print_list.c
+++ b/src/ft_print_list.c
@@ -26,8 +26,8 @@ void
ft_printf("West ------- [%s]\n", clist->we_tex_path);
ft_printf("East ------- [%s]\n", clist->ea_tex_path);
ft_printf("Sprite ----- [%s]\n", clist->sprite_path);
- ft_printf("F color ---- [%d]\n", clist->f_color);
- ft_printf("C color ---- [%d]\n", clist->c_color);
+ ft_printf("F color ---- [%d]\n", ft_rgb_to_hex(clist->f_rgb));
+ ft_printf("C color ---- [%d]\n", ft_rgb_to_hex(clist->c_rgb));
i = 0;
ft_printf("Map\n----\n");
while (clist->map[i])