diff options
author | salaaad2 <arthudurant263@gmail.com> | 2020-03-18 18:59:59 +0100 |
---|---|---|
committer | salaaad2 <arthudurant263@gmail.com> | 2020-03-18 18:59:59 +0100 |
commit | 0036fe1e23be842e8baa48162bcdb3bf632b02de (patch) | |
tree | 3e457822a4905ef2021d141d3ec7f30b29a8d57a /src/ft_draw_traps_extra.c | |
parent | bunchoshit (diff) | |
download | 42-cub3d-0036fe1e23be842e8baa48162bcdb3bf632b02de.tar.gz 42-cub3d-0036fe1e23be842e8baa48162bcdb3bf632b02de.tar.bz2 42-cub3d-0036fe1e23be842e8baa48162bcdb3bf632b02de.tar.xz 42-cub3d-0036fe1e23be842e8baa48162bcdb3bf632b02de.tar.zst 42-cub3d-0036fe1e23be842e8baa48162bcdb3bf632b02de.zip |
gng
Diffstat (limited to '')
-rw-r--r-- | src/ft_draw_traps_extra.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ft_draw_traps_extra.c b/src/ft_draw_traps_extra.c index a2fd0ab..c524190 100644 --- a/src/ft_draw_traps_extra.c +++ b/src/ft_draw_traps_extra.c @@ -36,8 +36,7 @@ void + cl->plist.plane_x * sprite.spritey); sprite.spritescreenx = (int)(cl->wlist.x_size / 2) * (1 + sprite.transformx / sprite.transformy); - ft_sprite_height(cl, &sprite); - ft_sprite_width(cl, &sprite); + ft_sprite_h_w(cl, &sprite); ft_draw_traps(cl, &sprite); i++; } |