diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-23 18:10:27 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-23 18:10:27 +0100 |
commit | a065577aeea93944fd8d582e720d7b01b89651b9 (patch) | |
tree | a73ad46865dfcfeef885c1f4fd635a477de8855b /src/ft_draw_map.c | |
parent | Better map colors (diff) | |
download | 42-cub3d-a065577aeea93944fd8d582e720d7b01b89651b9.tar.gz 42-cub3d-a065577aeea93944fd8d582e720d7b01b89651b9.tar.bz2 42-cub3d-a065577aeea93944fd8d582e720d7b01b89651b9.tar.xz 42-cub3d-a065577aeea93944fd8d582e720d7b01b89651b9.tar.zst 42-cub3d-a065577aeea93944fd8d582e720d7b01b89651b9.zip |
Preparing music
Diffstat (limited to 'src/ft_draw_map.c')
-rw-r--r-- | src/ft_draw_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_draw_map.c b/src/ft_draw_map.c index 4449332..a334fc1 100644 --- a/src/ft_draw_map.c +++ b/src/ft_draw_map.c @@ -24,9 +24,9 @@ static uint16_t static void ft_draw_player(t_player *plist, t_cub *clist) { + const uint16_t scale = clist->mlist->scale; const float x = plist->pos_x; const float y = plist->pos_y; - const uint16_t scale = clist->mlist->scale; ft_draw_circle( (scale / 2) + (x * (scale)), |