fix:
This commit is contained in:
parent
e500e3f440
commit
fbb9864ef4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user