diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-18 22:34:45 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-18 22:34:45 +0100 |
commit | 5be59b518283b4737949bcbea597068df43487dc (patch) | |
tree | e2bffbff55a6d252642994d1e03fce1e4dd1760d /src/ft_draw_heals_extra.c | |
parent | ok bav (diff) | |
download | 42-cub3d-5be59b518283b4737949bcbea597068df43487dc.tar.gz 42-cub3d-5be59b518283b4737949bcbea597068df43487dc.tar.bz2 42-cub3d-5be59b518283b4737949bcbea597068df43487dc.tar.xz 42-cub3d-5be59b518283b4737949bcbea597068df43487dc.tar.zst 42-cub3d-5be59b518283b4737949bcbea597068df43487dc.zip |
Bug fix
Diffstat (limited to 'src/ft_draw_heals_extra.c')
-rw-r--r-- | src/ft_draw_heals_extra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_draw_heals_extra.c b/src/ft_draw_heals_extra.c index 05ff830..62c64b0 100644 --- a/src/ft_draw_heals_extra.c +++ b/src/ft_draw_heals_extra.c @@ -23,7 +23,7 @@ void int32_t i; i = 0; - while (i < cl->mlist.traps_nbr) + while (i < cl->mlist.heals_nbr) { sprite = cl->heals[i]; sprite.spritey = sprite.s_pos_x - (cl->plist.pos_x - 0.5); |