From a1891c76be7688be7f9e213308b6af33e3d3dacf Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Sat, 29 Feb 2020 20:34:02 +0100 Subject: debugging... --- src/ft_get_sprite.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ft_get_sprite.c') diff --git a/src/ft_get_sprite.c b/src/ft_get_sprite.c index d99f12e..5f9a0bc 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.spritex = x + 0.5; - clist->sprites.spritey = y + 0.5; + clist->sprites.spritex = x; + clist->sprites.spritey = y; return ; } x++; -- cgit v1.2.3