diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-15 19:42:48 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-15 19:42:48 +0100 |
commit | 75f54cd49e5b9942678d2b8a8137ca1110a785f5 (patch) | |
tree | 9abbe2b12a0d1cc016bc3bfa5ce95f15d6cd625d /src/ft_init_lists.c | |
parent | Revert (diff) | |
download | 42-cub3d-75f54cd49e5b9942678d2b8a8137ca1110a785f5.tar.gz 42-cub3d-75f54cd49e5b9942678d2b8a8137ca1110a785f5.tar.bz2 42-cub3d-75f54cd49e5b9942678d2b8a8137ca1110a785f5.tar.xz 42-cub3d-75f54cd49e5b9942678d2b8a8137ca1110a785f5.tar.zst 42-cub3d-75f54cd49e5b9942678d2b8a8137ca1110a785f5.zip |
Valgrind errors fix
Diffstat (limited to 'src/ft_init_lists.c')
-rw-r--r-- | src/ft_init_lists.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c index 5726a5b..cd928b0 100644 --- a/src/ft_init_lists.c +++ b/src/ft_init_lists.c @@ -72,6 +72,7 @@ static int8_t i = -1; while (++i < 5) cl->key_input[i] = -1; + cl->mpid = 0; cl->ishud = 0; cl->isoldmus = 0; cl->doicast = 1; |