diff options
author | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-02-05 13:32:40 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-02-05 13:32:40 +0100 |
commit | d1097088999c538601158805cf77250d51513f98 (patch) | |
tree | 731f010c02189ff0df4530640a2d30e50160a80a /src/ft_check_missing.c | |
parent | Scale (diff) | |
download | 42-cub3d-d1097088999c538601158805cf77250d51513f98.tar.gz 42-cub3d-d1097088999c538601158805cf77250d51513f98.tar.bz2 42-cub3d-d1097088999c538601158805cf77250d51513f98.tar.xz 42-cub3d-d1097088999c538601158805cf77250d51513f98.tar.zst 42-cub3d-d1097088999c538601158805cf77250d51513f98.zip |
Don't mess with me boy
Diffstat (limited to 'src/ft_check_missing.c')
-rw-r--r-- | src/ft_check_missing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_check_missing.c b/src/ft_check_missing.c index 32e2943..325af54 100644 --- a/src/ft_check_missing.c +++ b/src/ft_check_missing.c @@ -35,7 +35,7 @@ int return (ft_missing_error("east side texture", clist)); else if (!clist->we_tex_path[0]) return (ft_missing_error("west side texture", clist)); - else if (clist->wlist->x_size < 0 || clist->wlist->y_size < 0) + else if (clist->wlist->x_size == 0 || clist->wlist->y_size == 0) return (ft_missing_error("resolution", clist)); else if (clist->f_color < 0) return (ft_missing_error("floor color", clist)); |