1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-19 13:43:04 +00:00

fixed celldistance parameter order (to a more popular c1) in two instances

This commit is contained in:
Zeno Rogue 2019-08-02 17:59:39 +02:00
parent aa9d9cf54a
commit 8830770982
2 changed files with 2 additions and 2 deletions

View File

@ -6871,7 +6871,7 @@ void drawMarkers() {
hyperpoint H = tC0(ggmatrix(keycell)); hyperpoint H = tC0(ggmatrix(keycell));
#if CAP_QUEUE #if CAP_QUEUE
queuechr(H, 2*vid.fsize, 'X', 0x10101 * int(128 + 100 * sintick(150))); queuechr(H, 2*vid.fsize, 'X', 0x10101 * int(128 + 100 * sintick(150)));
queuestr(H, vid.fsize, its(celldistance(cwt.at, yi[yii].key())), 0x10101 * int(128 - 100 * sintick(150))); queuestr(H, vid.fsize, its(celldistance(yi[yii].key(), cwt.at)), 0x10101 * int(128 - 100 * sintick(150)));
#endif #endif
addauraspecial(H, iinf[itOrbYendor].color, 0); addauraspecial(H, iinf[itOrbYendor].color, 0);
} }

View File

@ -1302,7 +1302,7 @@ void markers() {
#if CAP_CRYSTAL #if CAP_CRYSTAL
(geometry == gCrystal && !crystal::pure()) ? fts(crystal::space_distance(cwt.at, track.back())) : (geometry == gCrystal && !crystal::pure()) ? fts(crystal::space_distance(cwt.at, track.back())) :
#endif #endif
its(celldistance(cwt.at, track.back())), 0x10101 * int(128 - 100 * sintick(150))); its(celldistance(track.back(), cwt.at)), 0x10101 * int(128 - 100 * sintick(150)));
addauraspecial(H, 0xFFD500, 0); addauraspecial(H, 0xFFD500, 0);
} }
int ghosts_left = ghosts_to_show; int ghosts_left = ghosts_to_show;