From 356ccc1b6b834d502d203036feac4800b0ed3361 Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Wed, 15 May 2024 14:49:40 +0200 Subject: Rename t_player to t_actor --- src/init.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/init.c') diff --git a/src/init.c b/src/init.c index 9959da6..9926826 100644 --- a/src/init.c +++ b/src/init.c @@ -6,7 +6,7 @@ /* By: dkaiser input_direction = ZERO; init_hooks(game); - init_player(game); + init_actor(game); return (0); } @@ -33,10 +33,10 @@ static void init_hooks(t_game *game) mlx_key_hook(game->mlx, on_key_input, game); } -static void init_player(t_game *game) +static void init_actor(t_game *game) { mlx_texture_t *texture; - t_player *player; + t_actor *player; player = &game->player; texture = mlx_load_png("textures/player.png"); -- cgit v1.2.3