mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-23 17:44:07 +00:00
do not display HiddenFromSight items on radar
This commit is contained in:
parent
704393295f
commit
d6b81ed816
@ -4439,7 +4439,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
|
|||||||
#endif
|
#endif
|
||||||
if(c->monst)
|
if(c->monst)
|
||||||
addradar(V, minf[c->monst].glyph, minf[c->monst].color, isFriendly(c->monst) ? 0x00FF00FF : 0xFF0000FF);
|
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));
|
addradar(V, iinf[c->item].glyph, iinf[c->item].color, kind_outline(c->item));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user