aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_bad_boy_actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_bad_boy_actions.c')
-rw-r--r--src/ft_bad_boy_actions.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ft_bad_boy_actions.c b/src/ft_bad_boy_actions.c
index 26d294b..fb2cdb7 100644
--- a/src/ft_bad_boy_actions.c
+++ b/src/ft_bad_boy_actions.c
@@ -73,10 +73,10 @@ void
i = 0;
while (i < cl->mlist.sprite_nbr[13])
{
- if (FT_OS == 1)
- r = rand() % 4;
- else
+ if (FT_OS == 2)
r = random() % 4;
+ else
+ r = rand() % 4;
if (cl->bad_boy[i].does == 2 && cl->bad_boy[i].sleep == 0)
{
cl->sfx[15].sfx_play(cl->sfx);