mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 09:58:09 +01:00
norme: Fixed little oopsie
This commit is contained in:
parent
01f0ac21df
commit
0ac6ee9394
1 changed files with 3 additions and 3 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
|
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2025/07/31 13:43:05 by kcolin #+# #+# */
|
/* Created: 2025/07/31 13:43:05 by kcolin #+# #+# */
|
||||||
/* Updated: 2025/08/14 21:41:23 by tchampio ### ########.fr */
|
/* Updated: 2025/08/14 21:46:53 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')
|
|| map[y][x] == 'J' || map[y][x] == 'D')
|
||||||
{
|
{
|
||||||
if (data->sprite_counter < MAX_SPRITES)
|
if (data->sprite_counter < MAX_SPRITES)
|
||||||
data->sprite_list[data->sprite_counter++] =
|
data->sprite_list[data->sprite_counter++]
|
||||||
place_right_sprite(data, map[y][x], x, y);
|
= place_right_sprite(data, map[y][x], x, y);
|
||||||
}
|
}
|
||||||
x++;
|
x++;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue