mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 09:30:35 +00:00
fixed crash in masterless (no draw items)
This commit is contained in:
parent
679e44d4b1
commit
582fe235f0
@ -681,7 +681,7 @@ bool drawItemType(eItem it, cell *c, const transmatrix& V, color_t icol, int pti
|
|||||||
if(c && doHighlight())
|
if(c && doHighlight())
|
||||||
poly_outline = kind_outline(it);
|
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 MAXMDIM >= 4
|
||||||
if(c && DIM == 3) radarpoints.emplace_back(radarpoint{makeradar(V), iinf[it].glyph, icol, kind_outline(it)});
|
if(c && DIM == 3) radarpoints.emplace_back(radarpoint{makeradar(V), iinf[it].glyph, icol, kind_outline(it)});
|
||||||
|
Loading…
Reference in New Issue
Block a user