diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_draw_handweap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ft_draw_handweap.c b/src/ft_draw_handweap.c index 241a804..1835f2a 100644 --- a/src/ft_draw_handweap.c +++ b/src/ft_draw_handweap.c @@ -48,6 +48,8 @@ void while (x < (int16_t)cl->wlist.x_size) { cl->tweap[w_id].tex_x = ((x * x_ratio) >> 16); + if (cl->tweap[w_id].ptr[cl->tweap[w_id].tex_x * 4 + 4 * + cl->tweap[w_id].img_h * cl->tweap[w_id].tex_y]) ft_put_weapon_image(w_id, y, x, cl); x++; } |