aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-05-13 22:10:02 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-05-13 22:10:02 +0200
commitc65f691ec231a2e5cbdf1bdeca2db04d063115c5 (patch)
tree2450cf130627933559e1fdb290942fa32ff40df9 /src
parentFuckiest fucked bug fix (diff)
download42-cub3d-c65f691ec231a2e5cbdf1bdeca2db04d063115c5.tar.gz
42-cub3d-c65f691ec231a2e5cbdf1bdeca2db04d063115c5.tar.bz2
42-cub3d-c65f691ec231a2e5cbdf1bdeca2db04d063115c5.tar.xz
42-cub3d-c65f691ec231a2e5cbdf1bdeca2db04d063115c5.tar.zst
42-cub3d-c65f691ec231a2e5cbdf1bdeca2db04d063115c5.zip
Added music to the main story
Diffstat (limited to 'src')
-rw-r--r--src/ft_click_close.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ft_click_close.c b/src/ft_click_close.c
index 113c241..6ed7b37 100644
--- a/src/ft_click_close.c
+++ b/src/ft_click_close.c
@@ -19,7 +19,5 @@ int
ft_click_close(int keycode, t_cub *clist)
{
(void)keycode;
- (void)clist;
- exit(0);
- return (0);
+ return (ft_exit(0, clist));
}