aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_key_loop.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-03 22:20:03 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-03 22:20:03 +0200
commit46e5cbabdf6c9791a050953967edf24b2c41141a (patch)
tree6fb500115e74811f616fc79bf1fbcde0083d224f /src/ft_key_loop.c
parentGet the teta (diff)
download42-cub3d-46e5cbabdf6c9791a050953967edf24b2c41141a.tar.gz
42-cub3d-46e5cbabdf6c9791a050953967edf24b2c41141a.tar.bz2
42-cub3d-46e5cbabdf6c9791a050953967edf24b2c41141a.tar.xz
42-cub3d-46e5cbabdf6c9791a050953967edf24b2c41141a.tar.zst
42-cub3d-46e5cbabdf6c9791a050953967edf24b2c41141a.zip
YES
Diffstat (limited to 'src/ft_key_loop.c')
-rw-r--r--src/ft_key_loop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_key_loop.c b/src/ft_key_loop.c
index 281c81e..a59a80c 100644
--- a/src/ft_key_loop.c
+++ b/src/ft_key_loop.c
@@ -32,6 +32,7 @@ int
ft_handle_keys(i, old_y, old_x, cl);
i++;
}
+ /* TODO: Don't kill me so fast */
ft_check_bad_boy_shoot(cl);
cl->moves = (cl->key_input[0] == -1) ? (0) : (cl->moves);
begin_frame = clock();