This commit is contained in:
Camille Chauvet 2023-05-05 14:51:37 +00:00
parent e500e3f440
commit fbb9864ef4

View File

@ -2,7 +2,7 @@
static int set_texture(t_map *map, int token, const char *key, char *value)
{
if (map->img[token - 1] != NULL)
if (map->img_path[token - 1] != NULL)
{
ft_eprintf("redefinition of %s", key);
return (1);