From 40eb179043b77f011fb1048c386ee187f64569d0 Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 7 May 2023 09:37:45 +1000 Subject: Add waves and some more polish. --- enemy.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'enemy.c') 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; } -- cgit v1.2.3-54-g00ecf