last changes

This commit is contained in:
2025-12-09 21:44:19 +01:00
parent 936c4604fd
commit 7984591228
3 changed files with 14 additions and 1409 deletions

View File

@@ -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);