mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-03 17:27:03 +00:00
racing:: distance not displayed in unknown
This commit is contained in:
parent
b6c2457a13
commit
4b3ada46fd
@ -1332,11 +1332,13 @@ void markers() {
|
||||
if(invalid_point(H)) return;
|
||||
|
||||
queuechr(H, 2*vid.fsize, 'X', 0x10100 * int(128 + 100 * sintick(150)));
|
||||
int cd = celldistance(track.back(), cwt.at);
|
||||
if(cd != DISTANCE_UNKNOWN)
|
||||
queuestr(H, vid.fsize,
|
||||
#if CAP_CRYSTAL
|
||||
(geometry == gCrystal && !crystal::pure()) ? fts(crystal::space_distance(cwt.at, track.back())) :
|
||||
#endif
|
||||
its(celldistance(track.back(), cwt.at)), 0x10101 * int(128 - 100 * sintick(150)));
|
||||
its(cd), 0x10101 * int(128 - 100 * sintick(150)));
|
||||
addauraspecial(H, 0xFFD500, 0);
|
||||
}
|
||||
int ghosts_left = ghosts_to_show;
|
||||
|
Loading…
x
Reference in New Issue
Block a user