diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-12 23:51:17 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-12 23:51:17 +0100 |
commit | 3c7e8bdc990636c6d862d7bccf3042ac169da14a (patch) | |
tree | 551ae3a02c8d82006cc4d9d70063bc8ae9b5d6fc /src/ft_draw_sprite_extra.c | |
parent | Secured parsing (diff) | |
download | 42-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 'src/ft_draw_sprite_extra.c')
-rw-r--r-- | src/ft_draw_sprite_extra.c | 2 |
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) { |