aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_square.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z3r8p1.le-101.fr>2020-02-13 19:42:05 +0100
committerRudy Bousset <rbousset@z3r8p1.le-101.fr>2020-02-13 19:42:05 +0100
commite29dd2fa3688e1e96a25af3b651da574af08aa90 (patch)
treecb6486fc91f1b93e61e4dcda25d359095e6aa108 /src/ft_draw_square.c
parentBetter code structure (diff)
download42-cub3d-e29dd2fa3688e1e96a25af3b651da574af08aa90.tar.gz
42-cub3d-e29dd2fa3688e1e96a25af3b651da574af08aa90.tar.bz2
42-cub3d-e29dd2fa3688e1e96a25af3b651da574af08aa90.tar.xz
42-cub3d-e29dd2fa3688e1e96a25af3b651da574af08aa90.tar.zst
42-cub3d-e29dd2fa3688e1e96a25af3b651da574af08aa90.zip
Splited structs
Diffstat (limited to 'src/ft_draw_square.c')
-rw-r--r--src/ft_draw_square.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_draw_square.c b/src/ft_draw_square.c
index 72cf904..9f9af56 100644
--- a/src/ft_draw_square.c
+++ b/src/ft_draw_square.c
@@ -18,7 +18,7 @@
void
ft_draw_square(int a, int b, int rgb, t_cub *clist)
{
- const uint16_t scale = clist->scale;
+ const uint16_t scale = clist->mlist->scale;
int x;
int y;