aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_sprite.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_get_sprite.c')
-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++;