From ab379435d49f9eb394a945fad8e9bf9f92d11376 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 2 Jun 2020 02:37:30 +0200 Subject: [PATCH] with unfitting sliders, also fix shmup --- shmup.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shmup.cpp b/shmup.cpp index 806209b5..05771ba6 100644 --- a/shmup.cpp +++ b/shmup.cpp @@ -114,7 +114,7 @@ vector active, nonvirtual, additional; cell *findbaseAround(hyperpoint p, cell *around, int maxsteps) { - if(fake::in()) { + if(fake::in() || arb::in_slided()) { auto p0 = inverse(ggmatrix(around)) * p; virtualRebase(around, p0); return around; @@ -187,13 +187,13 @@ void monster::rebasePat(const transmatrix& new_pat, cell *c2) { current_display->which_copy = ggmatrix(base); return; } - if(quotient || fake::in()) { + if(quotient || fake::in() || arb::in_slided()) { at = inverse(gmatrix[base]) * new_pat; transmatrix old_at = at; virtualRebase(this); fix_to_2(at); if(base != c2) { - if(fake::in()) println(hlog, "fake error"); + if(fake::in() || arb::in_slided()) println(hlog, "fake error"); else { auto T = calc_relative_matrix(c2, base, tC0(at)); base = c2;