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

This commit is contained in:
? authored and Zeno Rogue committed 2019-09-12 22:38:42 +02:00
1 parent 008ef40ea3
commit 1809cf1622
2 files changed
+2 -1

No files matched your search

+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])