fix: Fixed position of points

This commit is contained in:
Theo Champion 2025-09-03 16:37:28 +02:00
parent 647c8a5e48
commit cd7d0ddcfc

View file

@ -6,7 +6,7 @@
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/07/17 14:14:30 by kcolin #+# #+# */
/* Updated: 2025/08/20 17:06:37 by tchampio ### ########.fr */
/* Updated: 2025/09/03 16:32:13 by tchampio ### ########.fr */
/* */
/* ************************************************************************** */
@ -42,7 +42,7 @@ void draw_points(t_cub3d_data *data)
ft_itoa_static(data->player.points, points_str, 11);
i = 0;
horizontalpos = 250;
horizontalpos = 170;
while (i < (int)ft_strlen(points_str))
{
matrix_image_put(data, data->point_figures[points_str[i] - '0'], WIDTH - horizontalpos, HEIGHT / 2);