1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

do not display HiddenFromSight items on radar

This commit is contained in:
Zeno Rogue 2019-05-13 16:02:11 +02:00
parent 704393295f
commit d6b81ed816

View File

@ -4439,7 +4439,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
#endif
if(c->monst)
addradar(V, minf[c->monst].glyph, minf[c->monst].color, isFriendly(c->monst) ? 0x00FF00FF : 0xFF0000FF);
else if(c->item)
else if(c->item && !itemHiddenFromSight(c))
addradar(V, iinf[c->item].glyph, iinf[c->item].color, kind_outline(c->item));
return;
}