blob: 2e8a9ff8c8bb0e49c93530fb66d0732604d987ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include <libft.h>
#include <cub3d.h>
#include <unistd.h>
int
ft_map_error(unsigned int linum, t_win *wlist)
{
ft_dprintf(STDERR_FILENO, "Error\n");
ft_dprintf(STDERR_FILENO, "\033[1;31mMap error: line %d\033[0m\n", linum);
return (ft_exit(1, wlist));
}
|