diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-26 15:09:26 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-26 15:09:26 +0100 |
commit | dff28bcd5f1c5ab1f5ed2f8158782ac332bda6c3 (patch) | |
tree | 9ce49b8d0e0c1793bc75d901ed99ce093e62baf9 /src/ft_get_sprite_spawns.c | |
parent | map fix (diff) | |
download | 42-cub3d-dff28bcd5f1c5ab1f5ed2f8158782ac332bda6c3.tar.gz 42-cub3d-dff28bcd5f1c5ab1f5ed2f8158782ac332bda6c3.tar.bz2 42-cub3d-dff28bcd5f1c5ab1f5ed2f8158782ac332bda6c3.tar.xz 42-cub3d-dff28bcd5f1c5ab1f5ed2f8158782ac332bda6c3.tar.zst 42-cub3d-dff28bcd5f1c5ab1f5ed2f8158782ac332bda6c3.zip |
Ok
Diffstat (limited to 'src/ft_get_sprite_spawns.c')
-rw-r--r-- | src/ft_get_sprite_spawns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_get_sprite_spawns.c b/src/ft_get_sprite_spawns.c index e8eafa9..affcf57 100644 --- a/src/ft_get_sprite_spawns.c +++ b/src/ft_get_sprite_spawns.c @@ -37,8 +37,8 @@ void } x = 0; } - if (clist->sprites[s_n][(i - 1 < 0) ? (0) : (i - 1)].s_pos_x != 0 - && s_n + 1 <= 7) + if (/* clist->sprites[s_n][(i - 1 < 0) ? (0) : (i - 1)].s_pos_x != 0 + && */ s_n + 1 <= 7) { ft_get_next_sprite(clist, s_n + 1, c + 1, 0); } |