1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

3d:: do not draw items under the view center

This commit is contained in:
Zeno Rogue 2019-03-04 17:57:06 +01:00
parent ca241c92fe
commit 149853204a

View File

@ -680,6 +680,8 @@ bool drawItemType(eItem it, cell *c, const transmatrix& V, color_t icol, int pti
if(c && doHighlight())
poly_outline = kind_outline(it);
if(c == viewctr.at->c7) return false;
#if MAXMDIM >= 4
if(c && DIM == 3) radarpoints.emplace_back(radarpoint{makeradar(V), iinf[it].glyph, icol, kind_outline(it)});