From f97217086980fc55a593c3508f9ebd94e807dddf Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 10 Jun 2023 11:06:13 +0200 Subject: [PATCH] fixed hat-animations for spectre --- rogueviz/hat-animations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rogueviz/hat-animations.cpp b/rogueviz/hat-animations.cpp index 0b7e3bc5..18121014 100644 --- a/rogueviz/hat-animations.cpp +++ b/rogueviz/hat-animations.cpp @@ -59,7 +59,7 @@ void draw_loop(cellwalker cw, color_t col) { hyperpoint H2 = mid(currentmap->get_corner(cw.at, cw.spin, 3), currentmap->get_corner(cw.at, (cw+1).spin, 3)); if(s < .5) { curvepoint(T * (s * 2 * C0 + (1-s*2) * H2)); break; } s -= 0.5; curvepoint(T * C0); - if(next == -1) cw.spin = ppair[cw.at->master->c7 == cw.at ? 1 : 0][cw.spin]; + if(next == -1) cw.spin = ppair[geometry == gAperiodicSpectre ? 0 : cw.at->master->c7 == cw.at ? 1 : 0][cw.spin]; else cw += next; }