From 07d83046aaf5dff0d090832e6c6d696ee021187a Mon Sep 17 00:00:00 2001 From: Joppe Boeve Date: Thu, 25 Jan 2024 13:22:33 +0100 Subject: [PATCH] Remove tex swap --- src/game/game.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/game/game.c b/src/game/game.c index a30b409..ec96f83 100644 --- a/src/game/game.c +++ b/src/game/game.c @@ -6,7 +6,7 @@ /* By: yzaim +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/01/08 15:26:51 by yzaim #+# #+# */ -/* Updated: 2024/01/20 01:19:00 by joppe ######## odam.nl */ +/* Updated: 2024/01/25 13:22:31 by jboeve ######## odam.nl */ /* */ /* ************************************************************************** */ @@ -80,14 +80,6 @@ void game_init(t_meta *meta) timer_init(&meta->update_timer, mlx_get_time); timer_start(&meta->update_timer); - - swap_tex(meta->attributes.n.tex); - swap_tex(meta->attributes.s.tex); - swap_tex(meta->attributes.e.tex); - swap_tex(meta->attributes.w.tex); - - - p->meta = meta; set_player_start_position(&meta->player, meta->map.player_start_dir); player_move(p, (t_vec2d) {0.0, 0.0}); // to draw the image at the start (?)