From e1d30d1a2f7f0c75b6b233d2c7e7f4dff46c6369 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 11 May 2019 15:06:03 +0200 Subject: [PATCH] 3d:: do not hide that many items close to cursor --- graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graph.cpp b/graph.cpp index e56599ca..c403c6d5 100644 --- a/graph.cpp +++ b/graph.cpp @@ -753,7 +753,7 @@ bool drawItemType(eItem it, cell *c, const transmatrix& V, color_t icol, int pti if(DIM == 3 && mapeditor::drawUserShape(V, mapeditor::sgItem, it, darkena(icol, 0, 0xFF), c)) return false; - if(DIM == 3 && c == viewctr.at->c7) return false; + if(WDIM == 3 && c == viewctr.at->c7 && pmodel == mdPerspective && hdist0(tC0(V)) < orbsize * 0.25) return false; #if MAXMDIM >= 4 if(c && DIM == 3) radarpoints.emplace_back(radarpoint{makeradar(V), iinf[it].glyph, icol, kind_outline(it)});