diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-18 22:46:00 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-18 22:46:00 +0100 |
commit | fb8ca31ee232fd4db9dd05a088b5fc7b3e83a5a3 (patch) | |
tree | 9b842ddd18c30696af19efffcd2241f02c580c7c /src/ft_draw_heals.c | |
parent | Bug fix (diff) | |
parent | fatfingers master (diff) | |
download | 42-cub3d-fb8ca31ee232fd4db9dd05a088b5fc7b3e83a5a3.tar.gz 42-cub3d-fb8ca31ee232fd4db9dd05a088b5fc7b3e83a5a3.tar.bz2 42-cub3d-fb8ca31ee232fd4db9dd05a088b5fc7b3e83a5a3.tar.xz 42-cub3d-fb8ca31ee232fd4db9dd05a088b5fc7b3e83a5a3.tar.zst 42-cub3d-fb8ca31ee232fd4db9dd05a088b5fc7b3e83a5a3.zip |
Merge branch 'better_sprites'
Diffstat (limited to 'src/ft_draw_heals.c')
-rw-r--r-- | src/ft_draw_heals.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_draw_heals.c b/src/ft_draw_heals.c index d51ae97..bc1e1b2 100644 --- a/src/ft_draw_heals.c +++ b/src/ft_draw_heals.c @@ -41,7 +41,7 @@ void int32_t it; it = 0; - while (it < cl->mlist.sprite_nbr) + while (it < cl->mlist.heals_nbr) { dist_tab[it] = ((cl->plist.pos_x - cl->heals[it].s_pos_x) * (cl->plist.pos_x - cl->heals[it].s_pos_x) + |