summaryrefslogtreecommitdiffhomepage
path: root/src/bullet.c
diff options
context:
space:
mode:
authorarngo <[email protected]>2023-05-30 20:00:20 -0400
committerarngo <[email protected]>2023-05-30 20:00:20 -0400
commit5d1931537edb60b48538b714944eca7ce5db2739 (patch)
tree792a12f113ed456f33fc6cb5766898935d047fbf /src/bullet.c
parent3c6a193ccdbadaf3f512a2770d3b35970c39980f (diff)
downloadTOJam2023-5d1931537edb60b48538b714944eca7ce5db2739.tar.gz
TOJam2023-5d1931537edb60b48538b714944eca7ce5db2739.zip
complete deinit functions
Diffstat (limited to 'src/bullet.c')
-rw-r--r--src/bullet.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bullet.c b/src/bullet.c
index 4da1429..64b4a9c 100644
--- a/src/bullet.c
+++ b/src/bullet.c
@@ -24,6 +24,9 @@ deinit_bullets(void)
{
rodeo_texture_2d_destroy(&bullet_texture);
rodeo_audio_sound_destroy(pop_sound);
+ rodeo_collision_2d_world_destroy(&player_bullet_collision_world);
+ rodeo_collision_2d_world_destroy(&enemy_bullet_collision_world);
+ cvec_bullet_t_drop(&bullets);
}
bullet_t *