aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_handweap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_draw_handweap.c')
-rw-r--r--src/ft_draw_handweap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ft_draw_handweap.c b/src/ft_draw_handweap.c
index 42e7bfd..a2eabf3 100644
--- a/src/ft_draw_handweap.c
+++ b/src/ft_draw_handweap.c
@@ -17,13 +17,13 @@ static void
ft_put_weapon_image(int8_t w_id, int16_t y, int16_t x, t_cub *cl)
{
*(cl->img.ptr + x * 4 + (cl->img.sizeline * y)) =
- (uint8_t)*(cl->tweap[w_id].ptr + cl->tweap[w_id].tex_x * 4 + 4 *
+ *(cl->tweap[w_id].ptr + cl->tweap[w_id].tex_x * 4 + 4 *
cl->tweap[w_id].img_w * cl->tweap[w_id].tex_y);
*(cl->img.ptr + x * 4 + (cl->img.sizeline * y) + 1) =
- (uint8_t)*(cl->tweap[w_id].ptr + cl->tweap[w_id].tex_x * 4 + 4 *
+ *(cl->tweap[w_id].ptr + cl->tweap[w_id].tex_x * 4 + 4 *
cl->tweap[w_id].img_w * cl->tweap[w_id].tex_y + 1);
*(cl->img.ptr + x * 4 + (cl->img.sizeline * y) + 2) =
- (uint8_t)*(cl->tweap[w_id].ptr + cl->tweap[w_id].tex_x * 4 + 4 *
+ *(cl->tweap[w_id].ptr + cl->tweap[w_id].tex_x * 4 + 4 *
cl->tweap[w_id].img_w * cl->tweap[w_id].tex_y + 2);
}