diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-18 17:45:53 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-18 17:45:53 +0100 |
commit | ded508c2018294c3bcb79b82dcf6874e12569b97 (patch) | |
tree | 10d2a086cdcacf35a8560eae6ac046302ace66d1 /src/ft_draw_sprite.c | |
parent | Minimap back (diff) | |
download | 42-cub3d-ded508c2018294c3bcb79b82dcf6874e12569b97.tar.gz 42-cub3d-ded508c2018294c3bcb79b82dcf6874e12569b97.tar.bz2 42-cub3d-ded508c2018294c3bcb79b82dcf6874e12569b97.tar.xz 42-cub3d-ded508c2018294c3bcb79b82dcf6874e12569b97.tar.zst 42-cub3d-ded508c2018294c3bcb79b82dcf6874e12569b97.zip |
Removed bloat
Diffstat (limited to 'src/ft_draw_sprite.c')
-rw-r--r-- | src/ft_draw_sprite.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ft_draw_sprite.c b/src/ft_draw_sprite.c index 73f277a..b304102 100644 --- a/src/ft_draw_sprite.c +++ b/src/ft_draw_sprite.c @@ -84,7 +84,6 @@ static void cl->img.ptr[sprite->x * 4 + (sprite->y * cl->img.sizeline) + 2] = (uint8_t)cl->tlist[sprite->current_sprite].ptr[sprite->tex_x * 4 + 4 * cl->tlist[sprite->current_sprite].img_h * sprite->tex_y + 2] / calc; - cl->img.ptr[sprite->x * 4 + cl->wlist.x_size * sprite->y + 3] = (char)0; } void |