aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_suffer_animation.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-15 02:15:01 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-15 02:15:01 +0100
commitb992ca41965edf663f99bae19a95d59f2fd1ed97 (patch)
tree5a2014c5f8a5db44012bd81f5e6792170d7a55b1 /src/ft_suffer_animation.c
parentI need a macOS (diff)
download42-cub3d-b992ca41965edf663f99bae19a95d59f2fd1ed97.tar.gz
42-cub3d-b992ca41965edf663f99bae19a95d59f2fd1ed97.tar.bz2
42-cub3d-b992ca41965edf663f99bae19a95d59f2fd1ed97.tar.xz
42-cub3d-b992ca41965edf663f99bae19a95d59f2fd1ed97.tar.zst
42-cub3d-b992ca41965edf663f99bae19a95d59f2fd1ed97.zip
okok
Diffstat (limited to 'src/ft_suffer_animation.c')
-rw-r--r--src/ft_suffer_animation.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ft_suffer_animation.c b/src/ft_suffer_animation.c
index d08fa54..a0a21a5 100644
--- a/src/ft_suffer_animation.c
+++ b/src/ft_suffer_animation.c
@@ -14,7 +14,6 @@
#include <cub3d.h>
#include <mlx.h>
#include <stdint.h>
-#include <unistd.h>
void
ft_linux_suffer_animation(t_cub *cl)
@@ -44,7 +43,10 @@ void
ft_death_screen(cl);
}
else
+ {
ft_sfx_trap(cl);
+ ft_sfx_pain(cl);
+ }
}
void