aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_sprite.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_draw_sprite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_draw_sprite.c b/src/ft_draw_sprite.c
index 615bbd3..2aa1b43 100644
--- a/src/ft_draw_sprite.c
+++ b/src/ft_draw_sprite.c
@@ -43,7 +43,7 @@ void
if (!(dist_tab = ft_alloc_dist_tab()))
ft_error(FT_RET_ALLOC_ERR, FT_ERR_ALLOCATE, cl);
- while (++jt < cl->mlist.sprite_var)
+ while (++jt < FT_TOTAL_SPRT)
{
while (++it < cl->mlist.sprite_nbr[jt])
{
@@ -57,7 +57,7 @@ void
it = -1;
}
jt = -1;
- while (++jt < cl->mlist.sprite_var)
+ while (++jt < FT_TOTAL_SPRT)
{
it = -1;
while (++it < cl->mlist.sprite_nbr[jt] - 1)