aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_key_loop.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-02-28 19:22:58 +0100
committerRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-02-28 19:22:58 +0100
commit36e4ca1eeffa78d57767fced53fd16df17d75373 (patch)
treefcfc0dcfb5b39c7b026d577194f10f34fa3f3771 /src/ft_key_loop.c
parentParsed (diff)
download42-cub3d-36e4ca1eeffa78d57767fced53fd16df17d75373.tar.gz
42-cub3d-36e4ca1eeffa78d57767fced53fd16df17d75373.tar.bz2
42-cub3d-36e4ca1eeffa78d57767fced53fd16df17d75373.tar.xz
42-cub3d-36e4ca1eeffa78d57767fced53fd16df17d75373.tar.zst
42-cub3d-36e4ca1eeffa78d57767fced53fd16df17d75373.zip
L is now crapaud and you can pass through :^)
Diffstat (limited to 'src/ft_key_loop.c')
-rw-r--r--src/ft_key_loop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ft_key_loop.c b/src/ft_key_loop.c
index a6c1690..bc7f932 100644
--- a/src/ft_key_loop.c
+++ b/src/ft_key_loop.c
@@ -40,6 +40,8 @@ int
{
cl->key_ptr[cl->key_input[i]](cl);
ft_collision(old_y, old_x, cl->plist, cl->mlist);
+ /* if (cl->mlist->isnlvl) */
+ /* ft_change_level(cl); */
i++;
}
if (cl->key_input[0] != -1)