aboutsummaryrefslogtreecommitdiff
path: root/enemy.c
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2023-05-06 12:22:50 +1000
committerquou <quou@disroot.org>2023-05-06 12:22:50 +1000
commit937edea9599718e959f8ed135e97c68728855975 (patch)
treeea5d5551b470603d2d907dba4869ff52e742d9de /enemy.c
parent91aef268319a77ee8f5a082ca89264bf2671e212 (diff)
Add solid environment collisions.
Diffstat (limited to 'enemy.c')
-rw-r--r--enemy.c3
1 files changed, 2 insertions, 1 deletions
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];