aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_handweap.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 18:22:49 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-19 18:22:49 +0100
commit9ad7abee306a5efed6db9d8c7905ca80e9c9475e (patch)
tree0418f61c4e50d71ab012bb07c0fc32c28b857072 /src/ft_draw_handweap.c
parentThat's pretty cool I'm not gonna lie (diff)
download42-cub3d-9ad7abee306a5efed6db9d8c7905ca80e9c9475e.tar.gz
42-cub3d-9ad7abee306a5efed6db9d8c7905ca80e9c9475e.tar.bz2
42-cub3d-9ad7abee306a5efed6db9d8c7905ca80e9c9475e.tar.xz
42-cub3d-9ad7abee306a5efed6db9d8c7905ca80e9c9475e.tar.zst
42-cub3d-9ad7abee306a5efed6db9d8c7905ca80e9c9475e.zip
media update
Diffstat (limited to 'src/ft_draw_handweap.c')
-rw-r--r--src/ft_draw_handweap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ft_draw_handweap.c b/src/ft_draw_handweap.c
index 1835f2a..ae756e8 100644
--- a/src/ft_draw_handweap.c
+++ b/src/ft_draw_handweap.c
@@ -40,7 +40,6 @@ void
x_ratio = (int32_t)((cl->tweap[w_id].img_w << 16) / cl->wlist.x_size) + 1;
y_ratio = (int32_t)((cl->tweap[w_id].img_h << 16) / cl->wlist.y_size) + 1;
y = 0;
- ft_printf("%hd\n", w_id);
while (y < (int16_t)cl->wlist.y_size)
{
cl->tweap[w_id].tex_y = ((y * y_ratio) >> 16);