From c1cf626b9f1a70d7317c0b22719a65819126be4c Mon Sep 17 00:00:00 2001 From: realtradam Date: Sun, 12 May 2024 17:57:05 -0400 Subject: . --- src/bullet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bullet.c b/src/bullet.c index 2e4157f..d891d8b 100644 --- a/src/bullet.c +++ b/src/bullet.c @@ -72,7 +72,7 @@ bullet_collision_check(void) bullets[i].position.x += bullets[i].direction.x * 0.25; bullets[i].position.y += bullets[i].direction.y * 0.25; bullets[i].position.z += bullets[i].direction.z * 0.25; - Vector3 enemypos; + Vector3 enemypos = { 0 }; if (bullets[i].team == 1) { enemypos = world.players[1].position; -- cgit v1.2.3