diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_get_sprite.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ft_get_sprite.c b/src/ft_get_sprite.c index 05b13b2..9e84e93 100644 --- a/src/ft_get_sprite.c +++ b/src/ft_get_sprite.c @@ -46,6 +46,8 @@ static int8_t return (-1); i++; } + if (i + 2 > clist->mlist.topsp) + clist->mlist.topsp = i + 2; return (0); } |