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

fixed crash in masterless (no draw items)

This commit is contained in:
Zeno Rogue 2019-03-08 22:41:16 +01:00
parent 679e44d4b1
commit 582fe235f0

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 && DIM == 3) return false;
if(DIM == 3 && 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)});