aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_sprite.c
diff options
context:
space:
mode:
authorsalaaad2 <arthudurant263@gmail.com>2020-02-25 16:43:54 +0100
committersalaaad2 <arthudurant263@gmail.com>2020-02-25 16:43:54 +0100
commitcc85b0a701b558e18299822f7091fc2fd137b14b (patch)
treed2d914c1242299e8c3d2afcec8ff6b3c12d2a82f /src/ft_get_sprite.c
parentgang (diff)
download42-cub3d-cc85b0a701b558e18299822f7091fc2fd137b14b.tar.gz
42-cub3d-cc85b0a701b558e18299822f7091fc2fd137b14b.tar.bz2
42-cub3d-cc85b0a701b558e18299822f7091fc2fd137b14b.tar.xz
42-cub3d-cc85b0a701b558e18299822f7091fc2fd137b14b.tar.zst
42-cub3d-cc85b0a701b558e18299822f7091fc2fd137b14b.zip
bunch of garbage
Diffstat (limited to '')
-rw-r--r--src/ft_get_sprite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_get_sprite.c b/src/ft_get_sprite.c
index 806489f..76629c5 100644
--- a/src/ft_get_sprite.c
+++ b/src/ft_get_sprite.c
@@ -28,8 +28,8 @@ void
{
if (ft_ischarset("2", clist->mlist->map[y][x]))
{
- clist->sp_list.s_pos_x = x + 0.5;
- clist->sp_list.s_pos_y = y + 0.5;
+ clist->sprites.s_pos_x = x + 0.5;
+ clist->sprites.s_pos_y = y + 0.5;
return ;
}
x++;