change textures
This commit is contained in:
@@ -74,7 +74,7 @@ int check_content(t_map *map)
|
||||
{
|
||||
if (map->content[y][x] == ' ' && check_spaces(map, y, x))
|
||||
mb_exit("Error\nInvalid space positions.\n", EXIT_FAILURE);
|
||||
else if (!ft_strchr(" 01SNWE", map->content[y][x]))
|
||||
else if (!ft_strchr(" .01SNWE", map->content[y][x]))
|
||||
mb_exit("Error\nInvalid map characters.\n", EXIT_FAILURE);
|
||||
else if (ft_strchr("SNWE", map->content[y][x]) \
|
||||
&& set_player(map, y, x, map->content[y][x]))
|
||||
|
||||
Reference in New Issue
Block a user