From 6fc94e5dd57dd80d451623280213aecbf4039a12 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 23 Feb 2020 00:16:19 +0100 Subject: GCC-friendly now --- src/ft_get_player_spawn.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/ft_get_player_spawn.c') diff --git a/src/ft_get_player_spawn.c b/src/ft_get_player_spawn.c index e1f313e..617ec22 100644 --- a/src/ft_get_player_spawn.c +++ b/src/ft_get_player_spawn.c @@ -32,13 +32,8 @@ static void static void ft_get_s_dir(t_player *pl) { - float sav_dir_x; - float sav_plane_x; - - sav_dir_x = pl->dir_x; pl->dir_x = -pl->dir_x; pl->dir_y = -pl->dir_y; - sav_plane_x = pl->plane_x; pl->plane_x = -pl->plane_x; pl->plane_y = -pl->plane_y; } -- cgit v1.2.3