diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-23 00:16:36 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-23 00:16:36 +0100 |
commit | 3ebd8ba2bd2302327932d877ef8b797793a67542 (patch) | |
tree | 0a45b7f6bf98eab0895d71ac85b29413ab707be3 /src/ft_check_map_line.c | |
parent | I think we good (diff) | |
download | 42-cub3d-3ebd8ba2bd2302327932d877ef8b797793a67542.tar.gz 42-cub3d-3ebd8ba2bd2302327932d877ef8b797793a67542.tar.bz2 42-cub3d-3ebd8ba2bd2302327932d877ef8b797793a67542.tar.xz 42-cub3d-3ebd8ba2bd2302327932d877ef8b797793a67542.tar.zst 42-cub3d-3ebd8ba2bd2302327932d877ef8b797793a67542.zip |
Cool
Diffstat (limited to 'src/ft_check_map_line.c')
-rw-r--r-- | src/ft_check_map_line.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ft_check_map_line.c b/src/ft_check_map_line.c index 9419ab2..44580db 100644 --- a/src/ft_check_map_line.c +++ b/src/ft_check_map_line.c @@ -39,9 +39,6 @@ static int8_t } cl->mlist.istraps = (line[i] == 'T') ? (1) : (cl->mlist.istraps); cl->mlist.isheals = (line[i] == '+') ? (1) : (cl->mlist.isheals); - cl->mlist.isweapon[0] = (line[i] == '!') ? (1) : (cl->mlist.isweapon[0]); - cl->mlist.isweapon[1] = (line[i] == '@') ? (1) : (cl->mlist.isweapon[1]); - ft_get_topsp(line[i], cl); return (0); } |