From fb6d429478e2a8983b52ffee7bb7b20b7bb11211 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 21 Mar 2020 19:57:18 +0100 Subject: Starting to valgrind --- inc/cub3d_structs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/cub3d_structs.h') diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 259cf05..85031bb 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -259,7 +259,7 @@ typedef struct s_cub struct s_sprite **sprites; struct s_sprite traps[512]; struct s_sprite heals[64]; - struct s_sprite weaps[2][1]; + struct s_sprite **weaps; struct s_sfx sfx[10]; } t_cub; -- cgit v1.2.3