aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_lists.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-02-23 16:30:47 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-02-23 16:30:47 +0100
commitbf2cce96c3c5657946070a07b8dcda5dad199481 (patch)
treeaf6bb51948d880494d7841c5e5da0f9aff862166 /src/ft_init_lists.c
parentColors fix (diff)
download42-cub3d-bf2cce96c3c5657946070a07b8dcda5dad199481.tar.gz
42-cub3d-bf2cce96c3c5657946070a07b8dcda5dad199481.tar.bz2
42-cub3d-bf2cce96c3c5657946070a07b8dcda5dad199481.tar.xz
42-cub3d-bf2cce96c3c5657946070a07b8dcda5dad199481.tar.zst
42-cub3d-bf2cce96c3c5657946070a07b8dcda5dad199481.zip
Trying life bars
Diffstat (limited to 'src/ft_init_lists.c')
-rw-r--r--src/ft_init_lists.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c
index 5592358..b9dbfd3 100644
--- a/src/ft_init_lists.c
+++ b/src/ft_init_lists.c
@@ -45,6 +45,7 @@ static t_player
plist->dir_y = 0;
plist->plane_x = 0;
plist->plane_y = 0.66666666;
+ plist->life = 100;
return (plist);
}