1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

manual-animation: b4_distance only in Solv

This commit is contained in:
Zeno Rogue 2020-02-13 11:03:22 +01:00
parent cb4f0e3984
commit 1e0f8f45b1

View File

@ -136,7 +136,7 @@ void get_b4_distance() {
heptagon *h2 = centerover->master; heptagon *h2 = centerover->master;
if(h1->distance != h2->distance) if(h1->distance != h2->distance)
println(hlog, "Z difference: ", h2->distance - h1->distance); println(hlog, "Z difference: ", h2->distance - h1->distance);
else { else if(sn::in()) {
auto c1 = sn::getcoord(h1); auto c1 = sn::getcoord(h1);
auto c2 = sn::getcoord(h2); auto c2 = sn::getcoord(h2);
println(hlog, "X difference: ", bdiff(c1.first, c2.first).get_str(10000)); println(hlog, "X difference: ", bdiff(c1.first, c2.first).get_str(10000));