-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathutils_v5.c
More file actions
21 lines (19 loc) · 1.08 KB
/
utils_v5.c
File metadata and controls
21 lines (19 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* utils_v5.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: bguzel <bguzel@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/09/29 17:15:48 by bguzel #+# #+# */
/* Updated: 2023/09/29 17:32:59 by bguzel ### ########.fr */
/* */
/* ************************************************************************** */
#include "cub3d.h"
void get_ea(t_data *data, int i)
{
data->ea_flag += 1;
if (data->ea_flag != 1)
ft_error_msg("2 time EA Error");
data->east.path = ft_strjoin(data->east.path, &data -> image_path[i]);
}