mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-15 05:07:16 +00:00
labels are no longer displayed behind the sphere
This commit is contained in:
@@ -3668,7 +3668,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
|
||||
queuestr(V, 1 * .2, label, 0xFFFFFFFF, 1);
|
||||
}
|
||||
|
||||
if(viewdists) {
|
||||
if(viewdists && !behindsphere(V)) {
|
||||
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));
|
||||
|
||||
Reference in New Issue
Block a user