aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_select_bad_boy_action.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-30 21:19:05 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-30 21:19:05 +0200
commit3f50ccd9e0941903e232a4d62e89ba7d9147ae22 (patch)
tree843f9b3f7139c2c0f904653f55b7a777a7d04db0 /src/ft_select_bad_boy_action.c
parentNigga be shootin' quick af (diff)
download42-cub3d-3f50ccd9e0941903e232a4d62e89ba7d9147ae22.tar.gz
42-cub3d-3f50ccd9e0941903e232a4d62e89ba7d9147ae22.tar.bz2
42-cub3d-3f50ccd9e0941903e232a4d62e89ba7d9147ae22.tar.xz
42-cub3d-3f50ccd9e0941903e232a4d62e89ba7d9147ae22.tar.zst
42-cub3d-3f50ccd9e0941903e232a4d62e89ba7d9147ae22.zip
Nigga ain't gonna stop shootin me
Diffstat (limited to 'src/ft_select_bad_boy_action.c')
-rw-r--r--src/ft_select_bad_boy_action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_select_bad_boy_action.c b/src/ft_select_bad_boy_action.c
index c716e33..db75208 100644
--- a/src/ft_select_bad_boy_action.c
+++ b/src/ft_select_bad_boy_action.c
@@ -76,6 +76,7 @@ static void
{
cl->bad_boy[i].act[r](&cl->bad_boy[i],
&cl->sprites[13][i], &cl->mlist);
+ cl->bad_boy[i].sleep = 1;
}
void
@@ -105,6 +106,5 @@ void
}
else if (cl->bad_boy[i].life <= 0)
cl->bad_boy[i].does = 3;
- cl->bad_boy[i].sleep = 1;
}
}