mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 01:48:08 +01:00
fix: Fixed position of points
This commit is contained in:
parent
647c8a5e48
commit
cd7d0ddcfc
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue