diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-30 15:19:08 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-30 15:19:08 +0200 |
commit | 5f28ff497e19d85a0dd60d15ecd1fec7a3617931 (patch) | |
tree | 6ac464aab5031141698c9c3d81befc7d87158ee6 /src | |
parent | Even better (diff) | |
download | 42-cub3d-5f28ff497e19d85a0dd60d15ecd1fec7a3617931.tar.gz 42-cub3d-5f28ff497e19d85a0dd60d15ecd1fec7a3617931.tar.bz2 42-cub3d-5f28ff497e19d85a0dd60d15ecd1fec7a3617931.tar.xz 42-cub3d-5f28ff497e19d85a0dd60d15ecd1fec7a3617931.tar.zst 42-cub3d-5f28ff497e19d85a0dd60d15ecd1fec7a3617931.zip |
Norm
Diffstat (limited to '')
-rw-r--r-- | src/ft_get_sprite_spawns.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ft_get_sprite_spawns.c b/src/ft_get_sprite_spawns.c index 459b1c9..21c4cb8 100644 --- a/src/ft_get_sprite_spawns.c +++ b/src/ft_get_sprite_spawns.c @@ -103,10 +103,10 @@ void uint8_t i; x = 1; - y = 1; + y = 0; i = 0; clist->mlist.sprite_nbr[0] = 0; - while (clist->mlist.map[y]) + while (clist->mlist.map[++y]) { while (clist->mlist.map[y][x]) { @@ -121,7 +121,6 @@ void x++; } x = 1; - y++; } ft_get_next_sprite(clist, 1, '3', 0); } |