diff options
author | quou <quou@disroot.org> | 2023-05-06 09:02:04 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2023-05-06 09:02:04 +1000 |
commit | 2ab411c4b8855d11d48454a93262e8eae3ba7fc7 (patch) | |
tree | e608ebd0bea71570be0a3619f9848f975669e5ef /collision_system.c | |
parent | fb104368dd33b66e0575dcc0327cbae7046a4e1e (diff) |
Menus, game over, dying, etc.
Diffstat (limited to 'collision_system.c')
-rw-r--r-- | collision_system.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/collision_system.c b/collision_system.c index abd5dc9..68e3b09 100644 --- a/collision_system.c +++ b/collision_system.c @@ -15,6 +15,7 @@ static void handle_bullet_vs_player( pos = &world->positions[bullet]; + player_take_damage(&world->player, 1); destroy_entity(world, bullet); new_enemy_bullet_explosion(world, pos->x, pos->y); } |