kekw
This commit is contained in:
parent
1088942133
commit
9e4e1b8e54
4
draw.c
4
draw.c
@ -6,7 +6,7 @@
|
|||||||
/* By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ */
|
/* By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2022/12/13 15:49:23 by cchauvet #+# #+# */
|
/* Created: 2022/12/13 15:49:23 by cchauvet #+# #+# */
|
||||||
/* Updated: 2023/01/12 13:22:20 by cchauvet ### ########.fr */
|
/* Updated: 2023/01/13 15:14:02 by cchauvet ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@ -54,7 +54,7 @@ int ft_draw_map(t_data *data)
|
|||||||
char **patern;
|
char **patern;
|
||||||
void *img;
|
void *img;
|
||||||
|
|
||||||
ft_fill_pos(data);
|
ft_fill_pos(data->map);
|
||||||
data->nb_swaps = ++data->nb_swaps % (NB_COLORS - 6);
|
data->nb_swaps = ++data->nb_swaps % (NB_COLORS - 6);
|
||||||
patern = ft_get_player_map(*data->map);
|
patern = ft_get_player_map(*data->map);
|
||||||
if (patern == NULL)
|
if (patern == NULL)
|
||||||
|
BIN
parsing2.o
BIN
parsing2.o
Binary file not shown.
Loading…
Reference in New Issue
Block a user