mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-24 05:17:17 +00:00
3d:: do not draw items under the view center
This commit is contained in:
parent
ca241c92fe
commit
149853204a
@ -681,6 +681,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)});
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user