aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_topsp.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-22 23:42:05 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-22 23:42:05 +0100
commit1e84a8792302f0446e8eb838f478b4a6564d1011 (patch)
tree1968ab8d402596dc710afa4cf70335687e64637b /src/ft_get_topsp.c
parentCleaner (diff)
download42-cub3d-1e84a8792302f0446e8eb838f478b4a6564d1011.tar.gz
42-cub3d-1e84a8792302f0446e8eb838f478b4a6564d1011.tar.bz2
42-cub3d-1e84a8792302f0446e8eb838f478b4a6564d1011.tar.xz
42-cub3d-1e84a8792302f0446e8eb838f478b4a6564d1011.tar.zst
42-cub3d-1e84a8792302f0446e8eb838f478b4a6564d1011.zip
I think we good
Diffstat (limited to '')
-rw-r--r--src/ft_get_topsp.c18
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; */
+ /* } */
+ /* } */
}