summaryrefslogtreecommitdiff
path: root/src/zombie_chunk.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-05-11 10:10:23 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-05-11 10:10:23 +0200
commit981d99c229161c8afa508468032fe3ea0b924d3b (patch)
treecb0a2047210da5bb67e4e5b1acb6f9af390c9783 /src/zombie_chunk.c
parent962ebf95459a8da08f44898d13d185e60de59b45 (diff)
render order, zombie render fix
Diffstat (limited to 'src/zombie_chunk.c')
-rw-r--r--src/zombie_chunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zombie_chunk.c b/src/zombie_chunk.c
index fea1ce3..87cb65f 100644
--- a/src/zombie_chunk.c
+++ b/src/zombie_chunk.c
@@ -101,7 +101,7 @@ void draw_zombie_chunks(platform_window* window) {
if (alpha < 0) alpha = 0;
box box = get_render_box_of_square(window, zombie_chunks[i].position, (vec3f){0.6f, 0.6f, 0.6f});
- //render_box_with_outline(box, rgba(200, 50, 50, alpha));
+ //render_fill_box_with_outline(box, rgba(200, 50, 50, alpha));
renderer->render_set_rotation(zombie_chunks[i].rotation);
renderer->render_image_tint(get_chunk_image_from_type(zombie_chunks[i].type), box.tl_d.x, box.tl_d.y, box.tr_d.x - box.tl_d.x, box.br_d.y - box.tr_d.y, rgba(255,255,255,alpha));