summaryrefslogtreecommitdiff
path: root/src/bullets.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2023-12-27 20:28:55 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2023-12-27 20:28:55 +0100
commitc6e7e4b1b1b72e0b67a64332033e3f41f2407f09 (patch)
treec56cb1e2ea83634ecb88e77b3e31c00051786062 /src/bullets.c
parent07a966e476052a6ffb00333800be62b0178d018d (diff)
depth
Diffstat (limited to 'src/bullets.c')
-rw-r--r--src/bullets.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bullets.c b/src/bullets.c
index 516c34e..fb45cc6 100644
--- a/src/bullets.c
+++ b/src/bullets.c
@@ -267,8 +267,6 @@ void draw_bullets(platform_window* window) {
b.position.z = p->gun_height;
}
- BULLET_RENDER_DEPTH((int)bullets[i].position.y);
-
float bullet_render_x = b.position.x*info.tile_width + (b.position.y*info.px_incline);
float bullet_render_y = b.position.y*info.tile_height - (b.position.z*info.px_raised_per_h);