From 3c7e8bdc990636c6d862d7bccf3042ac169da14a Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 12 Mar 2020 23:51:17 +0100 Subject: Fixed sprite bug --- src/ft_draw_sprite_extra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_draw_sprite_extra.c') 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) { -- cgit v1.2.3