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. --- collision_system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'collision_system.c') diff --git a/collision_system.c b/collision_system.c index cf1378c..ed05817 100644 --- a/collision_system.c +++ b/collision_system.c @@ -47,7 +47,7 @@ static void handle_bullet_vs_player( pos = &world->positions[bullet]; - player_take_damage(&world->player, 1); + player_take_damage(world, &world->player, 1); destroy_entity(world, bullet); new_enemy_bullet_explosion(world, pos->x, pos->y); } -- cgit v1.2.3-54-g00ecf