crystal334: help line shows coordinates in the cheat mode

This commit is contained in:
Zeno Rogue 2019-10-12 13:15:46 +02:00
parent 06cfce6e23
commit 60ff50e8e2
1 changed files with 12 additions and 0 deletions

View File

@ -816,6 +816,18 @@ EX void describeMouseover() {
out += " ("+its(short(x))+","+its(short(y))+")";
}
}
#if CAP_CRYSTAL
if(geometry == gCrystal344 && cheater && crystal::view_coordinates) {
out += " (";
auto co = crystal::get_coord(c->master);
for(int i=0; i<4; i++) {
if(i) out += ",";
out += its(co[i]);
}
out += ")";
}
#endif
if(c->wall && !(c->wall == waChasm && c->land == laDual && ctof(c)) &&
!(c->land == laMemory) &&