mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-02 12:19:18 +00:00
rogueviz:: fixed the mouseover labels; also 'canvas' removed automatically
This commit is contained in:
parent
d48207cd2f
commit
8caa1f1354
@ -968,7 +968,7 @@ bool describe_monster(shmup::monster *m, string& out) {
|
||||
int i = m->pid;
|
||||
vertexdata& vd = vdata[i];
|
||||
|
||||
string o = vd.name+", "+its(isize(vd.edges))+" edges";
|
||||
string o = vd.name + ", "+its(isize(vd.edges))+" edges";
|
||||
/* if(isize(vd.edges) < 10) {
|
||||
for(int i=0; i<isize(vd.edges); i++)
|
||||
o += " " + its(snakedist(vd.snakeid, vd.edges[i]->snakeid));
|
||||
@ -994,7 +994,9 @@ bool describe_monster(shmup::monster *m, string& out) {
|
||||
help += "/" + fts(ei->weight)+":" + fts(ei->weight2) + " ";
|
||||
}
|
||||
|
||||
out += o;
|
||||
if(out == XLATN("Canvas")) out = o;
|
||||
else out = out + ", " + o;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user