3d:: sphere:: fixed sphereflip (and thus noshmup movement)

This commit is contained in:
?
2019-09-12 22:38:42 +02:00
committed by Zeno Rogue
parent 008ef40ea3
commit 1809cf1622
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -3174,7 +3174,7 @@ static const auto SKIPFAC = .4;
bool haveMobileCompass();
bool handleCompass();
inline bool sphereflipped() { return sphere && vid.alpha > 1.1; }
inline bool sphereflipped() { return sphere && vid.alpha > 1.1 && DIM == 3; }
int cellcolor(cell *c);
transmatrix screenpos(ld x, ld y);
extern ld backbrightness;
+1
View File
@@ -379,6 +379,7 @@ transmatrix relative_matrix(heptagon *h2, heptagon *h1) {
}
void draw() {
sphereflip = Id;
auto m = (hrmap_spherical3*) currentmap;
for(int i=0; i<120; i++) if(m->cells[i])