diff options
Diffstat (limited to 'src/init.c')
| -rw-r--r-- | src/init.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -6,7 +6,7 @@ /* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/05/09 14:50:09 by dkaiser #+# #+# */ -/* Updated: 2024/05/15 15:09:44 by dkaiser ### ########.fr */ +/* Updated: 2024/05/15 17:19:06 by dkaiser ### ########.fr */ /* */ /* ************************************************************************** */ @@ -14,7 +14,7 @@ #include "so_long.h" static void init_hooks(t_game *game); -static void init_actor(t_game *game); +static void init_player(t_game *game); int init(t_game *game) { @@ -22,7 +22,7 @@ int init(t_game *game) // TODO: make size and title dynamic game->input_direction = ZERO; init_hooks(game); - init_actor(game); + init_player(game); return (0); } @@ -32,7 +32,7 @@ static void init_hooks(t_game *game) mlx_key_hook(game->mlx, on_key_input, game); } -static void init_actor(t_game *game) +static void init_player(t_game *game) { mlx_texture_t *texture; t_actor *player; |
