diff options
author | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-02-05 17:26:10 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-02-05 17:26:10 +0100 |
commit | 08dce587032f08c5bfbc2790bdb2d668ca1990c1 (patch) | |
tree | a927bf674dfa6d1d3efd03ef06dfacb115ae238f /src/ft_get_res.c | |
parent | map fix (diff) | |
download | 42-cub3d-08dce587032f08c5bfbc2790bdb2d668ca1990c1.tar.gz 42-cub3d-08dce587032f08c5bfbc2790bdb2d668ca1990c1.tar.bz2 42-cub3d-08dce587032f08c5bfbc2790bdb2d668ca1990c1.tar.xz 42-cub3d-08dce587032f08c5bfbc2790bdb2d668ca1990c1.tar.zst 42-cub3d-08dce587032f08c5bfbc2790bdb2d668ca1990c1.zip |
int16_tamer
Diffstat (limited to 'src/ft_get_res.c')
-rw-r--r-- | src/ft_get_res.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ft_get_res.c b/src/ft_get_res.c index 649ab23..5e3dc06 100644 --- a/src/ft_get_res.c +++ b/src/ft_get_res.c @@ -30,7 +30,9 @@ static int8_t int8_t ft_get_res(char **words, t_cub *clist) { - t_win *wlist = clist->wlist; + t_win *wlist; + + wlist = clist->wlist; if (!(*words + 0) || !(*(words + 1)) || !(*(words + 2)) || (*(words + 3))) return (-1); |