delete printf
This commit is contained in:
parent
6b1be25f25
commit
3f4a9dd296
@ -6,7 +6,7 @@
|
||||
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2022/05/06 16:10:11 by apommier #+# #+# */
|
||||
/* Updated: 2022/06/14 16:26:14 by apommier ### ########.fr */
|
||||
/* Updated: 2022/06/14 16:36:08 by apommier ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -49,7 +49,7 @@ unsigned char *get_texture(char type, char *path, t_data *img)
|
||||
|
||||
if (!path)
|
||||
{
|
||||
printf("no path\n");
|
||||
//printf("no path\n");
|
||||
path = ft_strjoin("./sprite/brick_wall.ppm", 0);
|
||||
}
|
||||
(void)type;
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2022/06/11 01:00:17 by apommier #+# #+# */
|
||||
/* Updated: 2022/06/14 14:58:34 by apommier ### ########.fr */
|
||||
/* Updated: 2022/06/14 16:35:53 by apommier ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -44,7 +44,7 @@ char *transform_map(char **double_map, t_data *img)
|
||||
index = 0;
|
||||
//print_double_fd(double_map, 1);
|
||||
img->map.size = img->map.x * img->map.y;
|
||||
printf("x= %d y= %d\n", img->map.x, img->map.y);
|
||||
//printf("x= %d y= %d\n", img->map.x, img->map.y);
|
||||
map = ft_calloc(sizeof(char), img->map.size + 1);
|
||||
if (!map)
|
||||
quit_game(img);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user