mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-28 19:44:30 +00:00
added some missing CAP_ and MAXMDIM guards
This commit is contained in:
1 parent
044298d0bd
commit
c8e950cd40
25 files changed
+126
-25
No files matched your search
+3
-2
@@ -206,6 +206,7 @@ namespace binary {
|
||||
breakhere();
|
||||
return NULL;
|
||||
}
|
||||
#if MAXMDIM >= 4
|
||||
case gBinary3: {
|
||||
switch(d) {
|
||||
case 0: case 1:
|
||||
@@ -311,7 +312,7 @@ namespace binary {
|
||||
return path(h, 12, (z+1)%3+3, {13, z+6});
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
default: ;
|
||||
}
|
||||
printf("error: case not handled in binary tiling\n");
|
||||
@@ -758,7 +759,6 @@ int celldistance3(heptagon *c1, heptagon *c2) {
|
||||
}
|
||||
|
||||
int celldistance3(cell *c1, cell *c2) { return celldistance3(c1->master, c2->master); }
|
||||
#endif
|
||||
|
||||
void virtualRebaseSimple(heptagon*& base, transmatrix& at) {
|
||||
|
||||
@@ -791,6 +791,7 @@ void virtualRebaseSimple(heptagon*& base, transmatrix& at) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user