1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-22 21:23:18 +00:00

2D3D: fixed item colors in minimap

This commit is contained in:
Zeno Rogue 2019-05-20 13:41:37 +02:00
parent c15e4152bf
commit 0f783f86aa

View File

@ -5932,7 +5932,9 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
}
if(wmascii || (WDIM == 2 && GDIM == 3)) {
if(c->wall == waNone || isWatery(c)) asciicol = fcol;
if(!it) {
if(c->wall == waNone || isWatery(c)) asciicol = fcol;
}
if(c->wall == waBoat) asciicol = 0xC06000;
if(c->wall == waArrowTrap)
@ -5942,7 +5944,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
if(c->wall == waTerraWarrior)
asciicol = terracol[c->landparam & 7];
if(c->wall == waMineOpen) {
if(c->wall == waMineOpen && !it) {
int mines = countMinesAround(c);
if(ch == '.') {
if(mines == 0) ch = ' ';