diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-13 23:35:05 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-13 23:35:05 +0100 |
commit | b4825e7b78daf4953adfeba37fc48dba801f7d57 (patch) | |
tree | 27beb6c6349bb5b25bcd299e70780891acb174e3 /src/ft_draw_map.c | |
parent | Colors (diff) | |
download | 42-cub3d-b4825e7b78daf4953adfeba37fc48dba801f7d57.tar.gz 42-cub3d-b4825e7b78daf4953adfeba37fc48dba801f7d57.tar.bz2 42-cub3d-b4825e7b78daf4953adfeba37fc48dba801f7d57.tar.xz 42-cub3d-b4825e7b78daf4953adfeba37fc48dba801f7d57.tar.zst 42-cub3d-b4825e7b78daf4953adfeba37fc48dba801f7d57.zip |
Nice changes, secured segvs
Diffstat (limited to '')
-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 86865fa..da7ece2 100644 --- a/src/ft_draw_map.c +++ b/src/ft_draw_map.c @@ -5,7 +5,7 @@ static void ft_draw_player(t_player *plist, t_cub *clist) { const float x = plist->pos_x; - const float y = plist->pos_y - 1; + const float y = plist->pos_y; const uint16_t scale = clist->mlist->scale; ft_draw_square( |