diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-14 17:31:33 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-14 17:31:33 +0100 |
commit | 6f505e5f2144f637a5a73916da3b3b3719751003 (patch) | |
tree | 25d529624e4b863ec55dc51ade478ab6d168eed2 /src/ft_suffer_animation.c | |
parent | Removed bloat (diff) | |
download | 42-cub3d-6f505e5f2144f637a5a73916da3b3b3719751003.tar.gz 42-cub3d-6f505e5f2144f637a5a73916da3b3b3719751003.tar.bz2 42-cub3d-6f505e5f2144f637a5a73916da3b3b3719751003.tar.xz 42-cub3d-6f505e5f2144f637a5a73916da3b3b3719751003.tar.zst 42-cub3d-6f505e5f2144f637a5a73916da3b3b3719751003.zip |
Trying death screen
Diffstat (limited to 'src/ft_suffer_animation.c')
-rw-r--r-- | src/ft_suffer_animation.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ft_suffer_animation.c b/src/ft_suffer_animation.c index 6eacdf1..c5187f9 100644 --- a/src/ft_suffer_animation.c +++ b/src/ft_suffer_animation.c @@ -40,9 +40,9 @@ void cl->plist.life -= 20; if (cl->plist.life <= 0) { - ft_warp_level(cl->mlist.filename, cl); + /* ft_warp_level(cl->mlist.filename, cl); */ ft_sfx_death(cl); - /* TODO death screen here */ + ft_death_screen(cl); } else ft_sfx_trap(cl); @@ -73,9 +73,9 @@ void cl->plist.life -= 20; if (cl->plist.life <= 0) { - ft_warp_level(cl->mlist.filename, cl); + /* ft_warp_level(cl->mlist.filename, cl); */ ft_sfx_death(cl); - /* TODO death screen here */ + ft_death_screen(cl); } else ft_sfx_trap(cl); |