with unfitting sliders, also fix shmup

This commit is contained in:
Zeno Rogue 2020-06-02 02:37:30 +02:00
parent b55503dc9f
commit ab379435d4
1 changed files with 3 additions and 3 deletions

View File

@ -114,7 +114,7 @@ vector<monster*> 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;