aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_draw_verline.c6
-rw-r--r--src/ft_init_map.c2
2 files changed, 3 insertions, 5 deletions
diff --git a/src/ft_draw_verline.c b/src/ft_draw_verline.c
index 915e513..3d0fea3 100644
--- a/src/ft_draw_verline.c
+++ b/src/ft_draw_verline.c
@@ -56,9 +56,9 @@ static void
cl->tlist[6].tex_y = (cl->tlist[6].tex_y > 0)
? (cl->tlist[6].tex_y) : (-cl->tlist[6].tex_y);
ft_draw_floor_tex(cl, y, x, cl->tlist[6].tex_y);
- *(int*)(cl->img.ptr +
- (x * 4 + (y * cl->img.sizeline)))
- = ft_darken_floor(cl->f_rgb, weight, cl);
+ /* *(int*)(cl->img.ptr + */
+ /* (x * 4 + (y * cl->img.sizeline))) */
+ /* = ft_darken_floor(cl->f_rgb, weight, cl); */
y++;
}
}
diff --git a/src/ft_init_map.c b/src/ft_init_map.c
index 965bf8e..1c12189 100644
--- a/src/ft_init_map.c
+++ b/src/ft_init_map.c
@@ -49,8 +49,6 @@ int8_t
mlist->mapl_len = 0;
mlist->x_step = 0;
mlist->y_step = 0;
- mlist->x_floor_step = 0;
- mlist->y_floor_step = 0;
mlist->line_chk = 0;
mlist->map_start = 0;
mlist->isspawn = 0;