diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-01 17:26:26 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-01 17:26:26 +0200 |
commit | 375436e81665f4e521792d613907432cef4a4f8c (patch) | |
tree | b1375f814da271f3986c515acd44897cb6c3afa0 /src/ft_draw_sprite.c | |
parent | Still segv but solved invalid read (diff) | |
download | 42-cub3d-375436e81665f4e521792d613907432cef4a4f8c.tar.gz 42-cub3d-375436e81665f4e521792d613907432cef4a4f8c.tar.bz2 42-cub3d-375436e81665f4e521792d613907432cef4a4f8c.tar.xz 42-cub3d-375436e81665f4e521792d613907432cef4a4f8c.tar.zst 42-cub3d-375436e81665f4e521792d613907432cef4a4f8c.zip |
Normed
Diffstat (limited to 'src/ft_draw_sprite.c')
-rw-r--r-- | src/ft_draw_sprite.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_draw_sprite.c b/src/ft_draw_sprite.c index a17ab98..655a6e4 100644 --- a/src/ft_draw_sprite.c +++ b/src/ft_draw_sprite.c @@ -86,6 +86,7 @@ void int32_t d; sprite->x = sprite->drawstartx; + ft_printf("current: %d\n", sprite->current_sprite); while (sprite->x < sprite->drawendx) { sprite->tex_x = (int32_t)((sprite->x - (-sprite->spritewidth / 2 + |