fix: firsk can't take ketchup

This commit is contained in:
mcolonna 2024-04-15 19:54:19 +02:00
parent 9e81a59a7e
commit a492a9a411
2 changed files with 7 additions and 2 deletions

5
room/middle_ketchup.ber Normal file
View file

@ -0,0 +1,5 @@
1111111
1000C01
1010101
1P1E1F1
1111111

View file

@ -6,7 +6,7 @@
/* By: mcolonna <marvin@42.fr> +#+ +:+ +#+ */ /* By: mcolonna <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/15 15:27:03 by mcolonna #+# #+# */ /* Created: 2024/03/15 15:27:03 by mcolonna #+# #+# */
/* Updated: 2024/04/15 17:43:37 by mcolonna ### ########.fr */ /* Updated: 2024/04/15 19:53:54 by mcolonna ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -38,7 +38,7 @@ t_object ketchup_init(t_memclass mc)
{ {
static const t_objecttype type static const t_objecttype type
= { = {
solid: false, solid: true,
init: ketchup_init, init: ketchup_init,
loop: ketchup_loop, loop: ketchup_loop,
draw: ketchup_draw, draw: ketchup_draw,