summaryrefslogtreecommitdiff
path: root/src/wall_item.c
diff options
context:
space:
mode:
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);
}