1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 22:53:19 +00:00

bugfix: item under cursor disappears only in 3D

This commit is contained in:
Zeno Rogue 2019-03-06 16:31:58 +01:00
parent 9ab7b53b54
commit 845c777cd6

View File

@ -681,7 +681,7 @@ 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(c == viewctr.at->c7 && DIM == 3) return false;
#if MAXMDIM >= 4
if(c && DIM == 3) radarpoints.emplace_back(radarpoint{makeradar(V), iinf[it].glyph, icol, kind_outline(it)});