From b5db3b2ddc383fe66c4d7d00fd7cd1cfb5a9fe9c Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Sun, 2 Feb 2020 20:53:04 +0100 Subject: I can't turn --- src/ft_drawmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ft_drawmap.c') diff --git a/src/ft_drawmap.c b/src/ft_drawmap.c index eac41ba..d5c545a 100644 --- a/src/ft_drawmap.c +++ b/src/ft_drawmap.c @@ -46,8 +46,8 @@ static void static void ft_draw_player(t_player *plist, t_cub *clist) { - const size_t x = plist->pos_x; - const size_t y = plist->pos_y; + const float x = plist->pos_x; + const float y = plist->pos_y; ft_drawsquare(40 + (x * 41), 40 + (y * 41), 0x009843fa, clist); } -- cgit v1.2.3