mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 22:39:53 +00:00
you can no longer see mines by changing the color of waMineUnknown/waMineMine
This commit is contained in:
parent
3f92da8dc5
commit
2c0cda9fa8
@ -1567,7 +1567,7 @@ void show_color_dialog() {
|
|||||||
else if(c->item)
|
else if(c->item)
|
||||||
dialog::openColorDialog(iinf[c->item].color);
|
dialog::openColorDialog(iinf[c->item].color);
|
||||||
else if(c->wall)
|
else if(c->wall)
|
||||||
dialog::openColorDialog(winf[c->wall].color);
|
dialog::openColorDialog(winf[c->wall == waMineMine ? waMineUnknown : c->wall].color);
|
||||||
else
|
else
|
||||||
dialog::openColorDialog(floorcolors[c->land]);
|
dialog::openColorDialog(floorcolors[c->land]);
|
||||||
dialog::colorAlpha = false;
|
dialog::colorAlpha = false;
|
||||||
|
@ -2749,6 +2749,9 @@ void setcolors(cell *c, color_t& wcol, color_t& fcol) {
|
|||||||
|
|
||||||
wcol = fcol = winf[c->wall].color;
|
wcol = fcol = winf[c->wall].color;
|
||||||
|
|
||||||
|
if(c->wall == waMineMine)
|
||||||
|
wcol = fcol = winf[waMineUnknown].color;
|
||||||
|
|
||||||
// water colors
|
// water colors
|
||||||
if(isWateryOrBoat(c) || c->wall == waReptileBridge) {
|
if(isWateryOrBoat(c) || c->wall == waReptileBridge) {
|
||||||
if(c->land == laOcean)
|
if(c->land == laOcean)
|
||||||
|
Loading…
Reference in New Issue
Block a user