last changes
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/12/01 08:48:55 by aortigos #+# #+# */
|
||||
/* Updated: 2025/12/09 19:51:07 by aortigos ### ########.fr */
|
||||
/* Updated: 2025/12/09 20:57:11 by aortigos ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -28,7 +28,7 @@ t_turelist *new_texture(char *line)
|
||||
return (NULL);
|
||||
while (ft_isspace(*line))
|
||||
line++;
|
||||
if ((!ft_strncmp(line, "NO", 2) || !ft_strncmp(line, "sO", 2))
|
||||
if ((!ft_strncmp(line, "NO", 2) || !ft_strncmp(line, "SO", 2))
|
||||
|| !ft_strncmp(line, "WE", 2) || !ft_strncmp(line, "EA", 2))
|
||||
{
|
||||
list->name = ft_substr(line, 0, 2);
|
||||
|
||||
Reference in New Issue
Block a user