1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-09 14:49:43 +00:00

Clearing in bounded geometries

This commit is contained in:
Zeno Rogue
2018-04-14 10:24:02 +02:00
parent d8e7c74f70
commit d9381c7284
8 changed files with 39 additions and 12 deletions

View File

@@ -3669,7 +3669,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
}
if(viewdists) {
int cd = celldistance(c, cwt.c);
int cd = (cwt.c == currentmap->gamestart() && numplayers() == 1) ? celldist(c) : celldistance(c, cwt.c);
string label = its(cd);
// string label = its(fieldpattern::getriverdistleft(c)) + its(fieldpattern::getriverdistright(c));
int dc = distcolors[cd&7];