aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ft_draw_handweap.c2
-rw-r--r--src/ft_tex_weap_init.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/ft_draw_handweap.c b/src/ft_draw_handweap.c
index a2eabf3..7c982bc 100644
--- a/src/ft_draw_handweap.c
+++ b/src/ft_draw_handweap.c
@@ -75,7 +75,7 @@ static void
cl->tweap[w_id].tex_x += move / 4;
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);
+ ft_put_weapon_image(w_id, y, x, cl);
x++;
}
y++;
diff --git a/src/ft_tex_weap_init.c b/src/ft_tex_weap_init.c
index 3425fb4..57717b7 100644
--- a/src/ft_tex_weap_init.c
+++ b/src/ft_tex_weap_init.c
@@ -48,7 +48,8 @@ void
cl->tweap[4].ptr = mlx_get_data_addr(cl->tweap[4].img,
&cl->tweap[4].bpp, &cl->tweap[4].sizeline, &cl->tweap[4].endian);
cl->tweap[5].img = mlx_xpm_file_to_image(cl->wlist.wlx,
- FT_WEAPON_THREE_FIRE_PATH, &cl->tweap[5].img_w, &cl->tweap[5].img_h);
+ FT_WEAPON_THREE_FIRE_PATH,
+ &cl->tweap[5].img_w, &cl->tweap[5].img_h);
cl->tweap[5].ptr = mlx_get_data_addr(cl->tweap[5].img,
&cl->tweap[5].bpp, &cl->tweap[5].sizeline, &cl->tweap[5].endian);
}