norme: Fixed little oopsie

This commit is contained in:
Theo Champion 2025-08-14 21:45:39 +02:00
parent 0d6cc4063a
commit 3511b6aaf8

View file

@ -6,7 +6,7 @@
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/07/31 13:43:05 by kcolin #+# #+# */
/* Updated: 2025/08/14 21:37:58 by tchampio ### ########.fr */
/* Updated: 2025/08/14 21:45:19 by tchampio ### ########.fr */
/* */
/* ************************************************************************** */
@ -69,8 +69,8 @@ void place_base_sprites(t_cub3d_data *data, char **map)
|| map[y][x] == 'J' || map[y][x] == 'D')
{
if (data->sprite_counter < MAX_SPRITES)
data->sprite_list[data->sprite_counter++] =
place_right_sprite(data, map[y][x], x, y);
data->sprite_list[data->sprite_counter++]
= place_right_sprite(data, map[y][x], x, y);
}
x++;
}