diff options
Diffstat (limited to 'src/ft_get_topsp.c')
-rw-r--r-- | src/ft_get_topsp.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/ft_get_topsp.c b/src/ft_get_topsp.c index ee16714..84339c3 100644 --- a/src/ft_get_topsp.c +++ b/src/ft_get_topsp.c @@ -18,13 +18,15 @@ void ft_get_topsp(char c, t_cub *clist) { - int8_t x; + (void)c; + (void)clist; + /* int8_t x; */ - if ((x = ft_strlchr(FT_CHRST_SPRITES, c)) > 0) - { - if ((x + 2) > clist->mlist.topsp) - { - clist->mlist.topsp = x + 2; - } - } + /* if ((x = ft_strlchr(FT_CHRST_SPRITES, c)) > 0) */ + /* { */ + /* if ((x + 2) > clist->mlist.topsp) */ + /* { */ + /* clist->mlist.topsp = x + 2; */ + /* } */ + /* } */ } |