summaryrefslogtreecommitdiff
path: root/src/wall_item.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/wall_item.c
parent07a966e476052a6ffb00333800be62b0178d018d (diff)
depth
Diffstat (limited to 'src/wall_item.c')
-rw-r--r--src/wall_item.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/wall_item.c b/src/wall_item.c
index cdec496..ef656a6 100644
--- a/src/wall_item.c
+++ b/src/wall_item.c
@@ -60,8 +60,6 @@ void update_wallitems_server() {
static float wallspace_entry_time = 0.0f;
void draw_keybinding_for_wallitem_purchase(platform_window* window, wall_item item) {
- OVERLAY_RENDER_DEPTH();
-
map_info info = get_map_info(window);
char purchase_text[50];
@@ -108,7 +106,6 @@ void draw_wallitems(platform_window* window) {
if (!item.active) continue;
{
- OBJECT_RENDER_DEPTH((int)item.position.y);
box box = get_render_box_of_square(window, item.position, (vec3f){1,1,2});
renderer->render_image(item.img, box.tl_u.x, box.tl_u.y, box.tr_u.x - box.tl_u.x, box.br_u.y - box.tr_u.y);
}