From 8432e65d19d4a1b0cab21ccc8c8b9d87a3f90298 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 20 May 2018 15:14:58 +0200 Subject: [PATCH] Fixed Goldberg on elliptic --- floorshapes.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/floorshapes.cpp b/floorshapes.cpp index 85426c0e..570038df 100644 --- a/floorshapes.cpp +++ b/floorshapes.cpp @@ -327,6 +327,7 @@ namespace gp { cellwalker cw(c, i); cw += wstep; transmatrix cwm = shmup::calc_relative_matrix(cw.c, c); + if(elliptic && cwm[2][2] < 0) cwm = centralsym * cwm; return cwm * C0; } @@ -334,6 +335,7 @@ namespace gp { cellwalker cw(c, i); cw += wstep; transmatrix cwm = shmup::calc_relative_matrix(cw.c, c); + if(elliptic && cwm[2][2] < 0) cwm = centralsym * cwm; auto li1 = get_local_info(cw.c); return cwm * get_corner_position(li1, (cw+2).spin); }