diff options
Diffstat (limited to 'src/ft_drawmap.c')
-rw-r--r-- | src/ft_drawmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |