some norminettes and error in memorybook when adding a 2d pointer

This commit is contained in:
Hugo LAMY
2022-05-04 18:54:21 +02:00
parent 6000629c17
commit d4e5f298fa
12 changed files with 85 additions and 60 deletions

View File

@@ -6,7 +6,7 @@
/* By: pblagoje <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/05/04 13:45:52 by pblagoje #+# #+# */
/* Updated: 2022/05/04 13:47:13 by pblagoje ### ########.fr */
/* Updated: 2022/05/04 17:23:50 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */
@@ -47,7 +47,7 @@ int hook_action(t_game *game)
int keypress(int keycode, t_game *game)
{
unsigned i;
unsigned int i;
print_keycode(keycode, &game->plr);
i = 0;
@@ -62,7 +62,7 @@ int keypress(int keycode, t_game *game)
int keyrelease(int keycode, t_game *game)
{
unsigned i;
unsigned int i;
i = 0;
while (i < MAX_NB_KEY && game->k_hook[i] != keycode)