diff --git a/bullet.c b/bullet.c index b8aeb19..4d066f1 100644 --- a/bullet.c +++ b/bullet.c @@ -36,7 +36,7 @@ void bullet_spawn(BulletType type, Vector2 pos, float angle) } } -void draw_bullets(Camera2D *cam) +void draw_bullets() { for (int i = 0; i < BULLET_MAX; i++) { if (bullets[i].time <= EPSILON) diff --git a/bullet.h b/bullet.h index c5138eb..2cb06c9 100644 --- a/bullet.h +++ b/bullet.h @@ -10,6 +10,6 @@ void bullet_load(); void bullet_spawn(BulletType type, Vector2 pos, float angle); -void draw_bullets(Camera2D *cam); +void draw_bullets(); #endif // BULLET_H diff --git a/main.c b/main.c index 89a9988..909f1ff 100644 --- a/main.c +++ b/main.c @@ -111,7 +111,7 @@ int main(void) BeginMode2D(effect_camera); { DrawTexture(map.texture, map.box.x, map.box.y, WHITE); - draw_bullets(&camera); + draw_bullets(); } EndMode2D(); draw_ninja(Vector2Add(SCREEN_MIDDLE, cam_shake), &camera);