diff options
author | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2020-02-02 20:53:04 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2020-02-02 20:53:04 +0100 |
commit | b5db3b2ddc383fe66c4d7d00fd7cd1cfb5a9fe9c (patch) | |
tree | 693017c84746b288339617c068060142f05c786c /src/ft_drawmap.c | |
parent | Removed useless printfs (diff) | |
download | 42-cub3d-b5db3b2ddc383fe66c4d7d00fd7cd1cfb5a9fe9c.tar.gz 42-cub3d-b5db3b2ddc383fe66c4d7d00fd7cd1cfb5a9fe9c.tar.bz2 42-cub3d-b5db3b2ddc383fe66c4d7d00fd7cd1cfb5a9fe9c.tar.xz 42-cub3d-b5db3b2ddc383fe66c4d7d00fd7cd1cfb5a9fe9c.tar.zst 42-cub3d-b5db3b2ddc383fe66c4d7d00fd7cd1cfb5a9fe9c.zip |
I can't turn
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); } |