aboutsummaryrefslogtreecommitdiff
path: root/enemy.c
diff options
context:
space:
mode:
Diffstat (limited to 'enemy.c')
-rw-r--r--enemy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/enemy.c b/enemy.c
index 332a769..710a280 100644
--- a/enemy.c
+++ b/enemy.c
@@ -42,6 +42,8 @@ Entity new_skull(World* world, int x, int y) {
enemy->hp = skull_hp;
enemy->shoot_timer = 0;
+ world->enemy_count++;
+
return e;
}