diff options
Diffstat (limited to 'src/ft_draw_sprite.c')
-rw-r--r-- | src/ft_draw_sprite.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ft_draw_sprite.c b/src/ft_draw_sprite.c index a3371b4..7e7114f 100644 --- a/src/ft_draw_sprite.c +++ b/src/ft_draw_sprite.c @@ -44,9 +44,9 @@ void tex_y = ((d * cl->tlist[4].img_h) / cl->sp_list.s_h) / 256; if (*(cl->tlist[4].ptr + tex_x + tex_y * cl->tlist[4].sizeline / 4)) { - /*cl->img.ptr[tex_x * 4 + (cl->img.sizeline * tex_y)] =*/ - /*(char)cl->tlist[4].ptr[cl->tlist[4].tex_x * 4 + 4 **/ - /*cl->tlist[4].img_h * tex_y];*/ + cl->img.ptr[tex_x * 4 + (cl->img.sizeline * tex_y)] = + (char)cl->tlist[4].ptr[cl->tlist[4].tex_x * 4 + 4 * + cl->tlist[4].img_h * tex_y]; /*puts("qwe");*/ } ity++; |