aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-12 23:51:17 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-12 23:51:17 +0100
commit3c7e8bdc990636c6d862d7bccf3042ac169da14a (patch)
tree551ae3a02c8d82006cc4d9d70063bc8ae9b5d6fc
parentSecured parsing (diff)
download42-cub3d-3c7e8bdc990636c6d862d7bccf3042ac169da14a.tar.gz
42-cub3d-3c7e8bdc990636c6d862d7bccf3042ac169da14a.tar.bz2
42-cub3d-3c7e8bdc990636c6d862d7bccf3042ac169da14a.tar.xz
42-cub3d-3c7e8bdc990636c6d862d7bccf3042ac169da14a.tar.zst
42-cub3d-3c7e8bdc990636c6d862d7bccf3042ac169da14a.zip
Fixed sprite bug
Diffstat (limited to '')
-rw-r--r--src/ft_draw_sprite_extra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_draw_sprite_extra.c b/src/ft_draw_sprite_extra.c
index 351ed32..2545ec0 100644
--- a/src/ft_draw_sprite_extra.c
+++ b/src/ft_draw_sprite_extra.c
@@ -63,7 +63,7 @@ void
i = 0;
j = 0;
- while (j < cl->mlist.sprite_var - 1)
+ while (j < cl->mlist.sprite_var)
{
while (i < cl->mlist.sprite_nbr)
{