aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_sprite.c
diff options
context:
space:
mode:
authorsalaaad2 <arthudurant263@gmail.com>2020-02-25 17:33:15 +0100
committersalaaad2 <arthudurant263@gmail.com>2020-02-25 17:33:15 +0100
commit51dd3734caadd0c3b943da3410772c65558280cc (patch)
tree20753d7dc65e749c849ad9eb1f0b003fe65bde2a /src/ft_get_sprite.c
parentbunch of garbage (diff)
download42-cub3d-51dd3734caadd0c3b943da3410772c65558280cc.tar.gz
42-cub3d-51dd3734caadd0c3b943da3410772c65558280cc.tar.bz2
42-cub3d-51dd3734caadd0c3b943da3410772c65558280cc.tar.xz
42-cub3d-51dd3734caadd0c3b943da3410772c65558280cc.tar.zst
42-cub3d-51dd3734caadd0c3b943da3410772c65558280cc.zip
???
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 76629c5..d99f12e 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->sprites.s_pos_x = x + 0.5;
- clist->sprites.s_pos_y = y + 0.5;
+ clist->sprites.spritex = x + 0.5;
+ clist->sprites.spritey = y + 0.5;
return ;
}
x++;