From 937edea9599718e959f8ed135e97c68728855975 Mon Sep 17 00:00:00 2001 From: quou Date: Sat, 6 May 2023 12:22:50 +1000 Subject: Add solid environment collisions. --- enemy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'enemy.c') diff --git a/enemy.c b/enemy.c index 6729862..8b2642f 100644 --- a/enemy.c +++ b/enemy.c @@ -20,7 +20,8 @@ Entity new_skull(World* world, int x, int y) { ctype_sprite | ctype_enemy | ctype_skull | - ctype_collider + ctype_collider | + ctype_moveable ); pos = &world->positions[e]; sprite = &world->sprites[e]; -- cgit v1.2.3-54-g00ecf