From 88307709824b5795078a45ab26b6b89068b245b5 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 2 Aug 2019 17:59:39 +0200 Subject: [PATCH] fixed celldistance parameter order (to a more popular c1) in two instances --- graph.cpp | 2 +- racing.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/graph.cpp b/graph.cpp index 1740db5f..3e229120 100644 --- a/graph.cpp +++ b/graph.cpp @@ -6871,7 +6871,7 @@ void drawMarkers() { hyperpoint H = tC0(ggmatrix(keycell)); #if CAP_QUEUE 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 addauraspecial(H, iinf[itOrbYendor].color, 0); } diff --git a/racing.cpp b/racing.cpp index 07914388..b1627a72 100644 --- a/racing.cpp +++ b/racing.cpp @@ -1302,7 +1302,7 @@ void markers() { #if CAP_CRYSTAL (geometry == gCrystal && !crystal::pure()) ? fts(crystal::space_distance(cwt.at, track.back())) : #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); } int ghosts_left = ghosts_to_show;