mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-09-28 14:08:40 +00:00
racing:: do not show X if invalid point
This commit is contained in:
parent
4a308792a1
commit
7291b0d7be
@ -848,6 +848,7 @@ void markers() {
|
|||||||
cell *goal = NULL;
|
cell *goal = NULL;
|
||||||
for(cell *c: track) if(inscreenrange(c)) goal = c;
|
for(cell *c: track) if(inscreenrange(c)) goal = c;
|
||||||
hyperpoint H = tC0(ggmatrix(goal));
|
hyperpoint H = tC0(ggmatrix(goal));
|
||||||
|
if(invalid_point(H)) return;
|
||||||
queuechr(H, 2*vid.fsize, 'X', 0x10100 * int(128 + 100 * sintick(150)));
|
queuechr(H, 2*vid.fsize, 'X', 0x10100 * int(128 + 100 * sintick(150)));
|
||||||
queuestr(H, vid.fsize,
|
queuestr(H, vid.fsize,
|
||||||
(geometry == gCrystal && !crystal::pure()) ? fts(crystal::space_distance(cwt.at, track.back())) :
|
(geometry == gCrystal && !crystal::pure()) ? fts(crystal::space_distance(cwt.at, track.back())) :
|
||||||
|
Loading…
Reference in New Issue
Block a user