mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 09:58:09 +01:00
fix: readded matrix allcation (oopsy daisy)
This commit is contained in:
parent
05e24d19f9
commit
02940e9ecf
1 changed files with 1 additions and 1 deletions
|
|
@ -34,5 +34,5 @@ void init_cub3d_data(t_cub3d_data *data, char **argv)
|
|||
&data->img_data->bits_per_pixel, &data->img_data->line_length,
|
||||
&data->img_data->endian);
|
||||
init_player(&data->player, data->map);
|
||||
data->screen_matrix = ft_calloc(sizeof(int), WIDTH * HEIGHT);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue